There is a slight temperature difference between the waterfall at the top and the bottom. Why?

The potential energy of water at the top of the fall gets converted into heat kinetic energy at the bottom of the fall. When water hits the ground, a part of its kinetic energy gets converted into heat which increases its temperature slightly.