Unless your snake can talk you'll never know. Could have had a sore spot that got touched. Friend could smell funny or your snake was being protective .(LOL)

Now, young snakes will bite anything till they calm down. Have anybody that will handle your snakes wash their hands an arms first. It might help or not.

Good luck!