Hey Enthalpy, I wasn't exactly thinking of cosmic rays, honestly it was just a completely random thought/scenario I made in my head If we're looking into the photon motion in that much detail, then what causes the photons of one ray of light to coherently travel together? Einstein said that every observer will measure light to be travelling at the speed c. Perhaps, the photons of a particular ray of light also perceive the other photons of that same ray to be travelling at the speed c (they are not stationary relative to one another). This energy-momentum of each individual photon could be the source of gravity that allows these photons from the same ray of light to 'cluster/group' together; hence they move together in the same path?
What I'm saying could be completely wrong as I'm just hypothesizing here, but it's just a thought.