Answer: when gas is heated ,they gain more kinetic energy causing them to move faster.
Explanation: so as they gain kinetic energy they hit the walls of the container with more force thus causing pressure to increase
HOPE THIS HELPSS comment if u need more explanation