The molecules of the gas is more than solid and liquid, so as a result, there are very few molecules between the gravity or no gravity at all in a perfect gas.
Gas molecules are away from each other. More than any other liquid and solid, so as a result there is more or less gravity between molecules is not available in attractive, perfect gas