Paynis.
A comets tail is pushed because of the solar wind.
The tail of a comet is formed by ice and dust that is blown off by solar winds from the nearest star. That is why the tail will always point away from the star no matter what direction the comet is traveling.
The Comet's Tail forms when sunlight causes the Comet's ice to change to a gas. The gas or ion , tail of a comet streams from the comet's head, carrying with it dust particles. The solar wind electrically charged particles, expand away from the sun pushes the gas away from the comet's head. Regardless of where its going the tail points away from the sun.
The dust and rocks that come off the comet often catch on fire and leave a trail.
Although the common perception is that the tail of a comet streams out behind the comet, like dust being left behind as the comet roars through space; in reality, the tail of the comet is really the solar wind blowing the debris off of the comet. Because solar wind is coming from the direction of the sun, a comet's tail always faces away from the sun and is not necessarily "flowing" behind the comet.
When a comet nears the sun, and begins to out-gas, solar wind pushes the particles away. as the comet nears the sun, more & more particles are emitted, and the tail grows.
As the comet approaches the sun, it gets heated up, and its surface begins to turn into a gas (sublimates). The gas then escapes from the comet, and with enough force to blow away some dust and small rocks from the comet. This dust and gas is what makes the tail and also why the tail always points away from the sun (even when the comet is running from the sun, so the tail is in frount of the comet).
A comet's tail comes from the speed of it coming. The comet catches on fire, thus creating the tail.
meteor showers happen when earth enters the tail of a comet.
The tail of a comet is basically dust, and sediment burned off of the comet itself.
A comet is a star with a tail