As far as I understand, no warranty does, it’s just that car companies (where warranty work is usually talked about) err on the side of happy customers, even when it’s those customers’ faults (like burning a clutch too much because someone doesn’t know how to drive a manual. E.g. maaaaaaybe it might have been a bad clutch that caused it to die after 20k miles)