Compared to Earth, why does Mars have a proportionally smaller core?

Answer

Mars cooled faster because it is smaller

The speed at which a planetary body cools dictates the completeness of its differentiation. Since Mars is smaller, it cooled faster, halting the full migration of heavy elements before the process could be completed to the same extent as on Earth.

Compared to Earth, why does Mars have a proportionally smaller core?
compositionlayerprocessdensityplanet