Hard ball after orgasm?

Pe

When I masterbate and have an orgasm, I get this hard ball where the baby should be. Is this the baby or is this my uterus hardening? It’s hard for at least a minute. I’m almost 20 weeks. Most importantly, will this hurt the baby or make it unhappy??