Then the cyclist is riding too fast around pedestrians. Slow down.
The pedestrian is walking too stupid around traffic, smarten up.
Some interesting stats...
https://www.iihs.org/topics/pedestrians-and-bicyclists
“Pedestrian deaths have increased 80% since reaching their low point in 2009 and account for 17% of crash fatalities. Two percent of people killed in motor vehicle crashes are bicyclists...”
“...There were 7,388 pedestrians and 961 bicyclists killed in 2021 and approximately 60,000 pedestrians and 41,000 bicyclists injured in motor vehicle crashes on public roadways in the United States. Pedestrians comprised about 17% of crash deaths, and bicyclists made up an additional 2%...”