What caused the atmosphere of the Earth to form?