A possible high-temperature origin of the Moon and its geochemical consequences