If the temperature of a gas stays the same, the pressure of the gas increases as the volume of its container decreases. This is because the same number of particles collides with the walls of the container more frequently as there is less space. However, the particles still collide with the same amount of force.