I don’t understand why the woman needs anything

If it’s male factor infertility then why are docs putting woman in clomid.