Consider a small box of air of dimensions \Delta x, \Delta y, and \Delta z, where z is taken to be the vertical direction. The mass of air in this box is m, and the box is in mechanical equilibrium. Due to a decrease in atmospheric pressure with altitude, the force F1 pushing up on the bottom face of the box is greater than the force F2 pushing down on the top face of the box.