In the video interview the girl says that the snakes cage was left partly open the previous night. I'm guessing it got out, became cold, and got on to the bed to share her body heat. Then the alarm went off and she made a fast motion that startled it. But that's just my own guesswork.