The ability of a celestial body to retain an atmosphere depends on its gravitational force being strong enough to overcome the kinetic energy of gas molecules. The Moon's gravitational force is too weak to hold onto a significant atmosphere.