How does the material composition of a comet typically differ structurally from an asteroid when both are heated by the Sun?

Answer

The comet reacts dramatically by developing a coma and tails, while the asteroid generally remains inert.

The fundamental material difference—ice in comets versus rock/metal in asteroids—means that comets become active when heated, whereas asteroids typically do not unless significantly impacted.

How does the material composition of a comet typically differ structurally from an asteroid when both are heated by the Sun?
Spaceastronomycometcelestial objectspace object