He definitely could’ve waited. The flight was a regional trip and only an hour long.
I bet he does it for the thrill. If he gets off on the publicity of the act and having other passengers be captive around him, then an airport bathroom would have defeated the purpose. He wanted his fellow passengers to witness what he did, like a flasher or exhibitionist.