If it is a male, then it wants to breed perhaps. That is what males snakes do - cruise around, refuse food, look for willing females.
That is what it sounds like to me anyway. I don't think you need to worry. See what others say here before you run to the vet.
-----
Mark


