Answer:
When the temperature increases, the molecules of the gas gain energy. Therefore, they move faster.
This causes the molecules to hit the walls of the container more frequently and with greater force. Hence the pressure inside the container increases.