Fountain pens are built in such a way that the pressure inside them balances the atmospheric pressure at sea level. Since atmospheric pressure decreases with an increase in height above sea level, the pressure inside the pen turns out to be much greater than the air pressure in an aeroplane and the pen starts leaking.