Right at the Event Horizon, if any light were generated by a photon-producing process, the resultant photon, if headed away from the singularity, can be traveling outward at c as measured locally, but as has been said, spacetime is "bent" in gravitational fields and it happens that at the Event Horizon (because of the definition of the Event Horizon) the bending is exactly equivalent to c so from the reference point of observer outside the BH, that light "appears" (actually it would be more correct to say "is calculated as being" since you can't really see it) stationary at the EH.
At every point inside the EH, the light follows the local geodesic back to the center of the BH so light at the EH cannot have been created inside the EH because such light can never reach the EH. It cannot be generated outside the EH because such light will be traveling inward when it reaches the EH and thus will inevitably travel further inward to the singularity.
I think there are more complex situations and
@mfb I would appreciate your comments on what I have just said.