. . "Instead smaller rocky planets acquire their atmospheres when gases such as carbon dioxide and water vapour are released by volcanoes." . . .