When things like these happen I always like to believe that the guy had been having such a bad day and you were the innocent with the bad timing to talk to him; and when he realized what a jerk he was, it was already too late to say sorry.
I have been that jerk a couple of times...
Sometimes you can fix it when you don't get down to his level and wish a sincere good day/luck/flight with a smile... it has worked for me several times