There are four attributes of gases that seek equilibrium; temperature, pressure, volume and density.
Changing one of these parameters inversely alters the combined product of the other three proportionately even when one or two of the other variables (such as the volume of a containment) is fixed.
animations with explanations
It is the average velocity of the individual molecules/atoms in proportion to their density (number/volume) that determines pressure. When two volumes of gas come together and mix they quickly move toward equilibrium because of the high velocities of the individual particles and the subsequent rate of the collisions whereby energy is distributed between them.
Observe the action of the balls of
Newton's cradle when a ball at one end is pulled back and provided the potential energy of gravity. When the ball is released it accelerates towards the next ball in line. Upon striking the second ball the second ball almost instantaneously passes it motion on to the third and so forth until the last ball is struck. The last ball is free to travel some distance until its energy is paid back by its displacement in gravity. To relate this to the interaction of molecules imagine the balls are slightly separated when at rest. The interior balls do not move very far to transfer their energy.
The point I am trying to illustrate here is that
the individual molecules of gas are moving rapidly and when the volume of gas is no longer contained you then witness the velocity of molecules that are no longer confined undergo a rapid expansion.