Turn the volume down, dude!
I’m a huge advocate of NOT wearing headphones when you are out hiking, running or cycling, especially in places that see a lot of other users.
If you do choose to wear in-ear headphones, either turn the volume down or leave one ear bud out so you can hear your surroundings. The dog walkers had no problem hearing me - the runner was next to them so I assumed, since they also stepped to the side of the road, that he heard me the first time. guess not…