Maybe he got held up in a ridiculously long security line, or maybe he was haraSSSSed for no good reason, or maybe he was just disgusted at the foolishness of the checkpoint. Either way, he projected his anger on you.
However, since you were good enough to chase after him, his response was certainly over the top.