Erectile dysfunction is a dysfunction. Something in the body is not working as it should. It's a defect, or a symptom.
Pregnancy is not an illness. Birth control is not correcting an health issue with the body. In fact, the pill very well could be causing damage.