The density of air decreases as it is heated in the free atmosphere.
The effect of pressure on air density is inverse.
The pressure and the density of the air decrease with the increase in altitude. Thus, on going up in the atmosphere, the density, and the pressure decrease.
Therefore, as we go higher into the atmosphere, the pressure decreases.