The redistribution of trace elements from the mantle to the surface and implications for the thermo-chemical evolution of rocky planetary bodies