Answer: A. The electron moves from a lower energy orbital to a higher energy orbital.
Explanation: When a sufficient amount of energy is provided to the electron, it gets excited from a lower enrgy orbital to the higher energy orbital.
In moving from lower enrgy orbital to the higher one, it absorb some molecular energy. And thus when it comes back to the ground state , it will release this energy in the form of light and thus color appears.