I've been reading about how gravity affects light and time. However, I'm a little confused about the details. Does light lose energy and decrease in frequency the further away it gets from Earth? If so, this means that the frequency of light (the number of light waves per second) increases the closer it is to Earth and other celestial bodies. However, why is it that when scientists conducted the water tower experiment in 1962 by putting clocks at the top and bottom of the tower they found out that the clock closer to Earth ran slower? I would think that if the frequency of light increased as it got closer to Earth, then clocks would run faster in comparison to another clock that was further away from Earth. Please help clarify this for me. Thanks!