At the bottom of the waterfall, water is warmer than at the top. Give reason

When water falls on the ground, its mechanical energy (KE + PE) is converted into heat energy, due to which the temperature of water at the bottom of the waterfall increases.