is it also due to solar wind? if so why is it in a different direction than the gaz tail?
The dust tail is physical debris that it ablated from the comet by solar radiation, and it tends to trail the direction of travel of the comet. The ion (gas) tail often points in a different direction because the gases are less massive than the dust/ice, etc and are carried away from the direction of the Sun by the solar wind. There are times when the dust and gas tails coincide, and there are times when they can appear to point in opposite directions from our vantage point. We seen the comets' tails as if they were projected on a 2-D sky, but keep in mind that apart from that X-Y alignment, there are also Z-components (toward or away from us) that we cannot observe.is it also due to solar wind? if so why is it in a different direction than the gaz tail?
Some people don't realize that the tail always points away from the Sun, regardelss of which way the comet is moving. Which means that, when the comet has rounded the sun and is on its way out of the system again, its tail is not a tail at all, it's a ... nose?