The officer usually pulls the motorist over because of signs of impairment (such as swerving) or a traffic violation (even something minor like a broken taillight will suffice). Generally, a stop is legal so long as police had reasonable suspicion that the driver violated a traffic law.