When you clean the cage the snake will do its due diligence and explore around as everything in its territory just changed in smell. He's just making sure he knows where the best hide is.
I would say that if he's trying to get to the heat lamp he could be cold.