Answer:
Due to the gravity
Step-by-step explanation:
Since in space outside of our galaxies, it exists bigger starts than the ones around us, that means that they had bigger gravitational forces. so the wavelength of the electromagnetic radiation that they can emitted climbs out of their gravitational force. With an increase in wavelength of photon, it moves until the red end part of the electromagnetic spectrum, in this order, get the name of redshift.