Cops pull up behind a vehicle stopped in the middle of the road, not moving, or, pull up behind a vehicle that has not moved thru several traffic light cycles, and contact the driver.
As you can see (if you had looked, the light is green.
Standard procedure is to obtain identification of the driver and check for warrants.