Mars lost its atmosphere, including anything that evaporated off the surface, when it lost its magnetic field. That allowed the solar wind to whip to the surface and slowly carry away everything that wasn't nailed down.
How did Mars lose its magnetic field? Being half the size of Earth, their iron core cooled and hardened. Without a liquid core, no iron rotation, hence no magnetic field.