How does high blood pressure cause impotence?

NOT cause and effect. Both are due to a common cause that your autonomic (automatic) nervous system is unbalanced and you have dysautonomia. Commonest acquired cause is poor diet and you may have diabetes that also is associated with ed. Try a supplement of b complex + magnesium + multivitamin and get rid of all forms of sugar and sweetreners.