Redshift occurs when an object moves away, causing a shift to longer wavelengths in the spectrum.
Redshift is the shift in the position of spectral lines to longer wavelengths due to the relative motion of a source away from the observer. If an object is moving away from us, the observed wavelength will be longer, leading to a red shift in the spectrum.
https://brainly.com/question/38361311