The ink of the pan leaks out in an aeroplane because

High sped of aeroplane

Atmospheric pressure increases

Pressure of ink inside is more than the ambient pressure

Temperature difference