Study: Mars was once habitable; atmosphere likely formed thr