You probably surprised him. What does "close enough to announce my presence" mean to you? Around here, a lot of riders think it means 3 feet, which is way too close to announce. He probably intended to pass, but your closeness caused him to react in a way that you didn't anticipate. It's good that you are doing this sort of self-reflection - perhaps next time hang back a bit and allow things to progress without drama.