How odd. Some sort of spasm? I'm wondering if the snake's possibly reacting to heavy noise/vibration. Does your friend tend to play loud bass music, have the enclosure on the floor or anything like that? I don't know. If a snake's doing something really off, I'm always more comfortable talking to the herp vet just to be sure.