If your tank was getting up to 97 he's probably cooling off in the water. I have also heard of snakes hiding in the water dish if there's no hides it likes.