Answer
Gas does "fill all the space available to it" - for example, it is unlikely that air in your room will suddenly flow over to only be in the left half. However, if the average speed of the molecules in Earth's atmosphere is below the escape speed needed to escape Earth's gravity, those molecules are trapped.
Work Step by Step
This is discussed on page 265.