Does your wife being on her period affect the baby?

I’ve had some period-like cramps and Im just wondering if this is induced by sleeping too close while she’s on her period? I’m 4w2d.