I believe the correct answer would be the last option. When an electrons moves from an excited state to the ground state, it would release energy. An electron in the excited state would mean that it contains high kinetic energy so to move to a lower state some of these energy should be released.