IMO, Kristan,Foshci and Tiff got it right..Looks as though it was a stuck shed and the snake was likely severely dehydrated..All good inputs..
Sorry to hear of your loss..