Vesc​=r2GM​​=2gr​Radius of moon is less than that of earth and acceleration due to gravity is also less on moon as compared to that on earth.Thus, Vesc​ of Moon <Vesc​ of EarthThis is also the reason behind escape of atmosphere from moon.