Extended Warranty On A Used Car

You know that if for a used car warranty that do not follow? Why is this legal?