a) Choosing to eat too much junk food causes hormone imbalances that increase the chance of infertility;
b) Hormone imbalances that increase the risk of infertility in women also tend to increase one's appetite for junk (AKA high-energy) foods.
Having witnessed these problems up close, I'm going with (b).
FWIW the actual substance of the article is this paragraph:
Roughly 1 in 10 women of childbearing age have difficulty getting pregnant. Most of the time, it’s caused by problems with ovulation, often related to a hormone imbalance known as polycystic ovarian syndrome (PCOS). Some signs that a woman is not ovulating normally include irregular or absent menstrual periods.
PCOS and other fertility-related hormonal issues are much more complex and deeply rooted than food choices, though they're not unrelated.
The real issue is inflammation and auto-immunity, in which food intake is a factor but only one piece of the puzzle.