while its volume is decreased. The pressure exerted by the gas on the walls of the container increases