IIRC, the oil life monitor takes several variables into account in addition to miles driven. Things such as start-stop cycles, engine load and towing, acceleration rates, average driving speed, and engine temperatures and run time.
Miles driven was once the only metric available, but most modern...