Why am I thinking like this

I’m happy to be pregnant but also sad because like what if my husband and I don’t work out and then I never find another man because I have a child or what if no man ever hits on me or finds me attractive because I have a child but my husband will always be fine because he’s a man a co workers are hitting on him more now that he’s going to be a dad. These thoughts come all the time and make me feel unhappy about my pregnancy