It must certainly not have to bend. Imagine that you are standing in your bed room as far from your bed as possible and shine a flashlight under your bed. You would expect some light to bounce back up and hit the bottom of your bed. The bottom of your bed is the clouds in this analogy. Now, if a shoe (mountain) were in the way, it would cast a shadow. This is how the edge of the spotlight sun works, it's much bigger than a flight light beam.
Tell me, where in this analogy must the flash lights beam have to bend?