Answer
When the sealed gallon can is heated, the gas pressure inside increases. When the can is cooled, the pressure inside decreases.
Work Step by Step
When the can is heated, the hotter, faster-moving gas molecules hit the inside of the can more frequently and with greater force, exerting greater pressure.
When the can is cooled, they hit less frequently (and less violently), exerting less pressure.