The source of the heat was most likely energy coming from the decay of short-lived radioisotopes (half-lives less than a few million years) that were present in the newly formed solar system, especially Al and Fe, although heating may have been caused by impacts onto the asteroids as well.