Answer:
Different elements emit different colors when heated because their electrons have different allowed energy levels according to the element.
Step-by-step explanation:
When you heat up an atom it's electrons are stimulated and sort of leap to a higher level of energy, and when they calm down, they emit a new energy that shows in the form of light. However, the color wholly depends on the difference in energy between the two levels of energy, every element has a different number in electrons, so therefore there is more range in energy levels, giving each individual element its own specific range of colors. Though it's normally a subtle difference, every elements color range is as unique as a snowflake or a person's fingerprints.