Which effect does the sun's energy have on a comet?
A. It causes the comet to form a bright tail.
B. It causes the core of the comet to melt.
C. It causes the comet to turn toward earth.
D. It causes the comet to break apart.