Lunar terminator illusion
The light ray does not bend (in fact it does a little bit, but that's small and doesn't matter now). However, what you see is not a path of a ray of light, but a projection of this path on the celestial sphere around you. This projection is an arc of a great circle with you in the centre.