sex causes miscarriage?

Megan • Our little rainbow baby girl due September 17"
Does sex cause a miscarriage? I mean my previous pregnancy my partner and I had sex and the next day the bleeding and severe pains started and we miscarried that week. It's just we are 7 weeks and hubby won't even look at me when we go to bed. He's way to scared! Think this will be a long long pregnancy 🙄 #FellinLikeANun