A particularly deadly situation occurs when a driver on a multiple lane roadway stops for a pedestrian. Other vehicles overtake and pass the stopped car. Again law abiding pedestrians are victimized by careless drivers. A crucial point is that drivers have a near absolute duty to avoid running down persons in the street, regardless of whether they are there legally or not. The uniform vehicle code, used as a model in most states, requires drivers to look out for and avoid striking pedestrians.
Pedestrians also have duties.
They must stay off of certain roads and out of specified areas. They can cross most other streets in crosswalks. They must comply with traffic signals. Enforcement of the rules defining the relationship between drivers and pedestrians is complicated by the systematic removal of crosswalk markings in the USA in recent decades. Traffic engineers are nervous about the value of these markings.