If we use E²=m²c⁴+p²c², and we know mass of photon is zero, and  they have momentum but why aren't they affected by gravity.