There is no shortage of accounts of obstacle avoidance stopping DJI drones when flying towards a low, bright sun.
But that's not what the OA experienced.
Reflected glare from the water's surface is unlikely to have any effect on obstacle avoidance as the light is diffused, rather than concentrated and directional and the drone isn't flying towards the water's surface.