The correct option is B mechanical energy is transformed into thermal energy
The water at the top of the waterfall, falls and gains velocity.
The potential energy it has converts into kinetic energy.
When the water lands at the bottom, the kinetic energy converts into heat and hence the water is warmer at the bottom.