The layer of the atmosphere become thinner with altitude.
Atmosphere
96 Likes
Answer
The gravity causes the upper layers of atmosphere to exert pressure on the lower ones due to their weight. This causes the air to compress and hence the air become dense at the lower level while upper layers are thinner.