Why is it the comet can’t do the same to the sun

Answer:
When a comet gets close to the Sun, part of the ice starts to melt. The solar winds then push the dust and gas released by the melting ice away from the comet. This forms the comet's tail.
Explanation: