How was Mars Made?

Mars was formed about 4.6 billion years ago, at the same time as the Sun and the rest of the planets. As the Sun condensed, some of the leftover gas and dust was compressed and so Mars was formed.