Earth is considered a living planet because the layers and unique protective features like the outer core generates the earth's magnetic field and without the magnetic field there would be no protection from solar rays. Since earth's atmosphere is made of oxygen and nitrogen providing the necessary conditions for life to life and mars atmosphere is mainly made of carbon dioxide and lacks a magnetic field to protect life from solar rays and meteors.