Can sex cause uterine cramping??

Jae
Husband and I were having sex when I started to feel period-like cramps during my first orgasm. Even though I'd never experienced this, I was still enjoying myself  (my period is due in three or four days too so I figured I'd get it in while I can😏). We switched to a different position and continued until I was about to orgasm again and an even more painful cramp hit my uterus with less mercy than before😖 It felt like a middle-of-my period-heavy-flow cramp so I at this point expected to see blood everywhere, but there wasn't a drop. The cramp took about an our to "release", and by that I mean my actual uterus felt tight when I touched my stomach. I'm trying not to freak out but I have never experienced this before. I did have a chemical pregnancy last cycle, so now I'm wondering if it's at all possible that my body didn't "handle it" properly and thoroughly. Any insight, anecdotes and tips welcome!