The potential energy is 'electrostatic' and it is stored in the container 'walls' in the form of stress. Without walls there can be no pressure- accept in the case of massive objects like planets with large enough gravity. The container is stressed and when the gas expands for example, the...