I just caught my Mexican milk snake slithing in circles really fast around his water bowl and biting his own body. What is going on here?

I've had this snake for 5 years, and I have never seen behavior like this before.

He's also refused food for the past two weeks.