But when you cook rocks, earth formed it was very hot the rocks on the surface were cooked and they released carbon dioxide and nitrogen that can be trapped in minerals and is released when you heat them. this gave us the beginnings of an atmosphere of nitrogen and mostly carbon dioxide, much was released when the cooking rocks on the interior of earth in the manto were a, a, a available by vo, volcanic action and so this releases gases from the interior of the planet and we get bergining atmosphere of carbon dioxide. where water came from. 