An increase in the pressure of the gas might be caused by an increase in temperature (through heating the container of the gas) or by a decrease in volume (through moving a piston connected to the container).