The light emitted from the surface of a star comes to the observer with a lower frequency than in the case of radiation. The greater the frequency variation, the more massive the star and the smaller its radius. What explains this effect? Why is it called redshift?