Sneknoodle, My Condolences on your Boa passing away
Just to add a little info,
My BCI Boa does this same thing every now and then (Glass terrarium) , don't know why, but don't believe it's stargazing. Maybe she is just looking out? She is 2+ years old as far as I know,maybe older, sheds like she's supposed to and is very gentle when she is out for handling. she also uses her hides, and is stable when she is roaming around.