The ONLY way to change the volume of a sample of gas is to transfer it to a container with different volume.
Simply changing its temperature or pressure in the same jar won't do it. Any amount of gas always fills whatever container you keep it in.
Well hydrogen would be the main element, as a process called nuclear fusion with both helium and hydrogen atoms occurs within stars. And planets are the products of dead stars that have burned through their supplies of hydrogen, helium, and carbon. Planets are a product of this.