A closer look at Gravitational redshift
Light traveling outward from a deeper gravitational potential can reach a distant observer at a lower frequency.
Compact stars provide measurable examples. Interpreting a spectral shift also requires accounting for ordinary line-of-sight motion.
For a white dwarf in a well-studied binary, orbital information helps separate its motion from the shift associated with its strong surface gravity.
Want to learn more about Gravitational redshift? Gravitational redshift on Wikipedia.

