She supposedly put him on a diet to increase sperm count. Also, I think IVF is a treatment for male infertility.
https://www.bethesdafertility.com/treatments-and-procedures/male-infertility-treatments/
Yes, IVF is a treatment for male infertility. If you can’t get a decent sperm sample through ejaculation, then they have put the sperm & egg together in the lab because it can’t happen naturally.