AI pedestrians in City Car Driving are erratic. The Codex dictates that you treat every stationary pedestrian at a crosswalk as a sprinter waiting for the starting pistol. Hover your foot over the brake. Make eye contact (virtually). Do not proceed until they commit to stopping or crossing.
Slam braking causes whiplash (and fails your mission score). The Codex teaches the Trailing Brake for cities: city car driving codex