If your boa is just resting his head on the glass, he's fine. There are other neurological signs that accompany true "stargazing". Is his head tilting back away from the glass? Does he randomly raise his head high even when not resting against the glass? Does he act drunk and wobble or spin? Can he righten himself if you flip him on his back and does he fight you when you try?
If you answer no to the first 3 questions and yes to the last one, your boa is almost certainly perfectly fine. Boas do quirky things and they like to make us wonder.......![]()