According to the kinetic theory..the particles of the gases tend to possess energy which keeps pushing them apart. Hence the kinetic energy passes on to the other gas particle and no particle is kept devoid of energy. These moving particles fill the glass jar at some point.
5 3 5