I took my new ball python out of his cage a few minutes ago. He started rolling his head upside down, like, to try to flip or something.

He's a hatchling, he hasn't eaten since I got him. He was healthy and friendly before this. I have no idea what's wrong.

please help!