As you go up in an airplane, the atmospheric pressure becomes lower than the pressure of the air inside your ears. Your ears pop because they are trying to equalize, or match, the pressure. The same thing happens when the plane is on the way down and your ears have to adjust to a higher atmospheric pressure.