I think when it comes to unusual behaviour while it's smart to pay attention and see if it's a reaction to something specific, it's also best to step back and watch for a pattern forming. Sometimes animals, especially highly instinctual ones like snakes, just do things for no reason apparent to a human being. I'm not saying to ignore this but I wouldn't freak out too much. Just closely monitor the snake, make sure everything really is okay in his world, go about your business and see if this re-occurs or anything else manifests itself.

If you have any concern, however, that this is a health related issue, please consult with your herp vet as you see fit.