Toward a better understanding of the thermochemical evolution in Earth and planetary interiors