The dust and rocks that come off the comet often catch on fire and leave a trail.
because of the sun's solar wind.
Comets!
Comets are made of mainly 3 parts -dust tail, ion tail and coma
Comas form around comets when they approach the Sun and heat causes volatile compounds within the comet to vaporize and escape, creating a surrounding cloud of gas and dust. This process is known as outgassing, and it gives comets their characteristic glowing halo.
Comets
A Comets tail points away from the sun.
Comets have a tail because of the interaction between the comet's nucleus and the Sun's radiation. When a comet gets close to the Sun, the heat causes ice and other volatile substances on the comet's surface to vaporize and create a glowing cloud of gas and dust called a coma. The solar wind then pushes this material away from the comet, forming the tail that points away from the Sun.
because of their velocity
Away from the Sun.
gas
Its called FRICTION
Asteroid-sized objects that develop a bright tail when they approach the sun are known as comets. Unlike asteroids, comets are composed largely of ice, dust, and rocky material. When they near the sun, the heat causes the ice to vaporize, creating a glowing coma and a tail that always points away from the sun due to solar wind. This distinctive tail can be quite striking, making comets visible even from Earth.