Why does a zip bag puff up on a mountain?
Seal some air in a flexible zip bag in the valley and leave it room to expand. At the summit the bag looks puffier. Now bring it back to the same valley without opening it. For this comparison, imagine the air inside is at the same temperature at each stop.
What happens to the still-sealed bag when you return to the same valley?
The bag stays sealed for the whole trip.
What's really going on?
The air outside pushes on the bag
In the valley, the weight of the atmosphere above you creates air pressure. Higher up, there is less air overhead, so the pressure outside is lower.
The trapped air has room to expand
At the summit the outside air pushes less strongly. The air inside takes up more space until its pressure is close to the outside pressure again.
The descent restores the original pressure
On the way back down, the outside air squeezes the bag. At the same temperature and altitude as before, the sealed air takes up about the same space it did at the start.
Would a rigid container expand as visibly as the zip bag?
Reveal the explanation
A rigid wall barely changes shape. It can support a pressure difference between the air inside and the air outside.