Photons climbing out of a gravitating object become less energetic. This loss of energy is known as a "redshifting", as photons in the visible spectrum would appear more red. Similarly, photons falling into a gravitational field become more energetic and exhibit a blueshifting.... Note that the magnitude of the redshifting (blueshifting) effect is not a function of the emitted angle or the received angle of the photon—it depends only on how far radially the photon had to climb out of (fall into) the potential well.