And that's all it was too. He wasn't saying we won or the war was over. He was just thanking those troops.
And not only that, if you fly a US fighter jet and land on an aircraft carrier you are required to wear a flight suit.
He earned that right when he flew interceptors for the National Guard anyway.