As far as I know both mass and energy affects space-time. Mass creates a "sphere like zone of distortion", the space-time is less altered as we move away from the center. Photons on the other hand alter the space-time rather wave like, along the propagation trajectory and not "locally".
Could...