First example: already beyond a safe stopping point
The driver assesses the stopping decision before reaching the light. In the first example, yellow appears when the vehicle is already too close for a safe stop, so the driver continues through without attempting an abrupt stop.