What Causes Atmospheric Pressure?

Atmospheric Pressure is caused due to Gravitation and mass of elements in Air. Air elements are attracted downwards due to Gravity and pressure is created.