Well, I'd behave like that if someone stopped to chat with me right before a race or some other event I was physically very prepared for and focussed on. It's not so much being nervous as feeling raring to go, but then feeling "delayed" or thwarted in some way. I don't think someone else being calm would help, rather the opposite, that someone who mirrored my behaviour would smooth it out a bit.

I have no idea of why they would behave like that around you in that situation, though. No particular reason it should be "male" behaviour. I guess you're the only one who would know if there's a reason for them to be nervous or worked up. It could be positive tension, too.