Eli5 How does a spontaneous orgasm work?

r/

I have a condition called pgad. I experience spontaneous climax. For me it feels like I’m about to have a panic attack but then it kinda switches to an orgasm. My psychiatrist and pcp knows but I haven’t seen a uro gynecologist about this yet. Are they the same mechanism?