Original: In one of the recorded creation myths, Huitzilopochtli is one of the four sons of Ometeotl, he made the first fire from which a half sun was created by Quetzalcoatl.
Simplified: He then tossed his sisters head into the sky, where it became the moon, so that his mother would be comforted in seeing her daughter in the sky every night.