According to Q-FFF theory all Comets are former sunspot black holes (wich are new physics micro black holes), expelled by the sun and covered by the self produce plasma based Icy shell. The internal micro black hole is constantly producing plasma (or ions) partly falling back to the Comet as ice while it is growing or leaving the Comet as a tail. The Comet plasma volcano output has to penetrate through the icy shell which is thinning by the local sun radiation, which makes it easier to penetrate through the icy shell.
The direction and thrust of the expelled volcano plasma seems to be able to create the wiggle of the tail. This looks simple, but it is based on a new black hole physics based on the Penrose Trapped space Black Hole horizon, which should have a collison effect on vacuum particle producing particle pairs and larger Fermions as plasma. see: also other examples:
https://apod.nasa.gov/apod/image/0710/enckeRipoff_movie_short.gif
see also: The origin of cicular craters of comets.
https://www.academia.edu/8100058/THE_ORIGIN_OF_CIRCULAR_CRATERS_AT_COMET_67p_C-G
Micro black holes ( Penrose black holes) fountains of Saturns moon Enceladus, even active creating methane plasma. See also the small tadpole mini black hole climbing by plasma tail.