Atmospheric pressure is caused by the weight of the air above you. It seems silly , but you have to rememeber that the air is full of molecules of different elements ( nitrogen , oxygen , CO2 , etc ... ) and the have atomic weight.
Thats why there is less pressure on top of you when you are at greater altitudes , there is less air above you.
Hope it helps !
It would be awesome if you marked this awnser as Branliest! Thx :)