Four processes—outgassing, evaporation, sublimation, and surface ejection—can help a planet or moon to gain an atmosphere.
1) Outgassing: The release of a gas that has been dissolved, trapped, frozen, or absorbed in a substance is known as outgassing.
The outgassing that took place as the smaller, inner planets cooled down is likely how they acquired their atmospheres (volcanoes).
2) Evaporation : The process of converting anything from a liquid or solid state to vapors is called evaporation (like fog, mist, or steam).
So upon evaporation, water converts into gas and that's how moon gain an atmosphere by evaporation.
3) Sublimation : Converting a solid directly into a gas without first going through a liquid phase.
4)Surface ejection: A surface ejection is a massive discharge of plasma and magnetic field into the heliosphere from the Sun's corona.
Learn more about atmosphere on moon here https://brainly.com/question/937046
#SPJ4