As the sun grew hotter, so did Mars, prompting much of its atmospheric carbon dioxide to rain out and ultimately get locked up in rocks.
The secret of why Mars grew cold and dry may be locked away in its rocks
Source: space
Source Link: https://www.space.com/science/the-secret-of-why-mars-grew-cold-and-dry-may-be-locked-away-in-its-rocks