They do. BUT physics isn’t that interested. Your dog or kids suddenly goes in front of a bike without enough time for the bike to stop...
Then the cyclist is riding too fast around pedestrians. Slow down.