Might seem near freezing to you, but often times snakes will get in the water at night, or during the winter because the water has warmed up to a point where it is slightly warmer than the air, especially at night when the temperature is dropping.

Also, getting in the water helps them avoid fast fluctuations. Water warms slowly, and cools slowly when compared to the surrounding air.