Wikipedia dicit:
Features on Mars that resemble dry riverbeds and the discovery of minerals that form in the presence of water indicate that Mars once had a dense enough atmosphere and was warm enough for liquid water to flow on the surface. However, that thick atmosphere was somehow lost to space. Scientists suspect that over millions of years, Mars lost 99% of its atmosphere as the planet’s core cooled and its magnetic field decayed, allowing the solar wind to sweep away most of the water and volatile compounds that the atmosphere once contained.
The goal of MAVEN is to determine the history of the loss of atmospheric gases to space, providing answers about Martian climate evolution. By measuring the rate with which the atmosphere is currently escaping to space and gathering enough information about the relevant processes, scientists will be able to infer how the planet’s atmosphere evolved over time.
Video credit: NASA Goddard