The pressure of a gas is manifested at the boundary of the vessel it is confined in, and is caused by collisions (momentum transfer) of the molecules of the gas with the walls of the container.
The magnitude of the pressure is related to how hard and how often the molecules strike the wall