Answer: it is in an excited state
Explanation:
It becomes unstable and tends to rearrange itself to return to its lowest energy state. When this happens, the electros lose some or all of the excess energy by emitting light.