Your middle ear connects to the back of your nose via the eustachian tube, which can become blocked by congestion, preventing pressure equalization. When you fly and the air pressure around you changes, the pressure within your blocked sinuses or ears stays the same, causing a great deal of pain.