In any case, how could she possibly have known that this very aggressive, obviously male person shouting at her identified as a woman?
Is this a trick question? :)
Aren't all the men who want to act like this identifying as women or non-binary now? Seems like a pretty safe guess that the man shouting in your face has a gender.
But I guess he wasn't acting like that to start with, making his special identity less blatant...
And of course not everyone has seen as much trans representation as we have to get familiar with their, um, ... culture?