A sealed bicycle pump contains a fixed mass of air. Its volume is halved slowly while its temperature stays constant. Explain why the gas pressure rises.