Is infertility genetic?

Christine

This is something I probably should have asked my doctor but I’m just thinking about it now. My sister has unexplained infertility as do I. Is it just a coincidence or could there be some kind of connection?