Cancer itself is rarely a direct cause of miscarriage, but certain types of cancer and their treatments can increase the risk. For instance, cancers that affect the reproductive organs, such as ovarian cancer or cervical cancer, may have a more direct impact on pregnancy. Additionally, the physical and emotional strain of a cancer diagnosis may contribute to pregnancy complications.