In what order does the water cycle occur and how does it affect the Earth's climate?