Sometimes when they get stressed or feel very unsafe they will do that to scare the predator/enemy away, Did something very stressful happen? Possibly when you were handling him?
I've never heard of that. I've never seen a prolapse, but that would be my guess. How would a lump of tissue hanging out a snake's butt scare a preditor away?
What are these mojavas I keep hearing so much about?