The energy of a photon emitted in a Bohr atom due to electronic transitions from one orbit to the other is:
Difference in energy of initial and final states
Energy is conserved. When an electron jumps from a higher energy state to a lower energy state, the energy difference between these orbits is the the energy of the photons emitted.