If you increase the temperature the air will try to expand. Since it is sealed and the air can't expand, it will apply higher pressure to the can because it will want to burst out. It works the other way around, if you cool it down it will lower the pressure.