The more the kinetic energy in a gas, the faster it’s particles move and therefore the gas is at a higher temperature.
The pressure gases exert on a container is due to the particles colliding on the container walls.
The greater the kinetic energy in gasses the faster they move and the more often they collide on the container’s walls
If the volume is constant, then increasing the temperature will increase the pressure.
If there is a change in momentum of the particles, the kinetic energy decreases, decreasing the collisions on the container walls and thus the pressure.