I experienced a similar ordeal several years ago, it turned out to be an infection in the ejaculatory duct/ urethra region, which is right there with the prostate. That was before any HRT, so it wasn't induced by any hormonal medications. Antibiotics got it resolved fairly quick for me.