From what I understand, the frequency of light coming from the source moving towards an observer increases. From $ E=hv $ , this implies increase in energy of photon.
What really is confusing, is where does that extra energy come from? And also where is the energy is lost during opposite Doppler effect (red shift)? Why doesn't this violate the conservation of energy?