Because it uses thermal paper.
Thermal paper will turn black as long as the temperature is high. When writing, friction will generate heat, a chemical reaction will occur, and words will be written.
The text on thermal paper is produced by chemical reactions, and these chemicals are unstable.