Although ED is not a direct cause of male infertility, the two conditions can result from similar causes. Male infertility typically occurs due to low sperm counts, sperm irregularities, or blockages in the delivery of sperm.