Maternal cancer during pregnancy can lead to preterm birth due to the need for early delivery to initiate cancer treatment or due to complications such as preeclampsia and placental abruption. Additionally, certain cancer treatments, such as chemotherapy and radiation, may necessitate early delivery to avoid harm to the fetus.