We often say the pressure of air is caused by the air column above the surface. Obviously, it will not work for the case of air in an enclosing box. The pressure is caused by the air moleculars striking on the box surface.
But if we replace air with water. we can explain it sucessfully again...