Due to a momentary distraction, the driver rear-ended a car stopped at a pedestrian crossing, causing the second car to hit a pedestrian.