I’ve had 2 previous miscarriages

Im well aware that they say sex can’t cause a miscarriage but every time we have intercourse and I’m on top I realize once I’m done and urinating I’ll notice I’m spotting and after this spotting event it just progresses more and more, am I crazy or has this ever happened to anyone?