Question: what happens to the wavelength of a photon after it collides with an electron?
Answer: When a photon collides with an electron then the effect of it is called Compton scattering where the photons interact with the electron, losing momentum and therefore increase in wavelength.