Mars is about half the size of Earth, so it's possible that is too small to make enough of this conversion happen to generate a magnetic field. Also some theories of Mars formation would lead to a different composition of its core due to prior collision(s).
Its composition is similar to Earth's, and I assume that it's big enough to have similar pressures and temperatures closer to the core?