That's genuinely what was going on. As soon as he got on that branch he was frozen in that position in the first image for a little bit before he started to move. Poor guy was a bit spooked.
Probably didn't bother him terribly much in the end but he's my only snake so I'm a worry-warting parent with him lol.