Why Does Mars Have Such a Thin Atmosphere? Did the atmosphere on Mars have a brutal ending from a supernova explosion?

A Coronal Mass Ejection means that the corona, a layer of the sun, explodes, ejecting particles into space. Supernova cosmic rays or interstellar clouds could be the possible scenarios for strong radiation.