Question: why atmospheric pressure vary with height?
Answer: Atmospheric pressure decreases as the height of a surface above ground level increases. This is because, as the altitude increases: the number of air molecules decreases. the weight of the air decreases.