Imagine your head is like a balloon. When you're on a plane, the air gets thinner, so it's like squeezing the balloon from the outside, and that makes your head hurt! It’s also easier to get dehydrated when flying because the air in airplanes is dry, which can make headaches worse too.