What provides the energy for the water cycle?

The sun.

The sun's energy comes in the form of heat. This begins the cycle with evaporation.