Question: why is an atmosphere needed for life?
Answer: radiation, and provides chemicals needed for life, such as nitrogen and carbon dioxide. Small planets and moons have insufficient gravity to hold an atmosphere. The gas molecules escape to space, leaving the planet or moon without an insulating blanket or a protective shield.