I've met cis women that have told me that they get "clocked" by people. It sounds like this was a pretty big shock to you, so probably an isolated incident, like it is for those cis women. If there's nothing you can fix to make it not happen again, there's no use dwelling on it in my opinion.