As gas particles move quickly, they collide with anything
When they collide with something, they exert a force and so a pressure
In a sealed container, colliding with the walls creates outward gas pressure due to the force exerted by the particles onto the walls