Here's why:
* Made mainly of ice: Comets are primarily composed of ice, dust, and frozen gases.
* Tail near the sun: When a comet gets close to the sun, the ice heats up and vaporizes, creating a long, glowing tail that points away from the sun.
Let me know if you want to try another riddle! 😊