The gas particles have very weak attractive force between them, and move randomly ultimately exert pressure in all direction. Their molecules are bouncing all around the container because they are so small, then gravity has very little effect on them.