The n region already has alot of electrons so i dont see the reason......If a photon frees an e- from p region, cant they just go out from that side? Is it because of the electric field from the depletion layer? But the depletion layer isnt throughout the whole length right, so what drives them?

also, If a photon frees an e- n region, why dont they move to p region?