suppose you have a tank that contains a certain volume of gas at a certain pressure. when you decrease the volume of the tank, the same number of gas particles is now contained in a smaller space. therefore, the number of collisions increases. therefore, the pressure is greater.