"Hormones cause cancer"

I saw a new doctor today, simply because I needed a quick appointment and my usual doctor wasn't available, and as he looked through my medical record he pointed out the fact that I was on HRT. I explained to him how I had to go to a different doctor's office, a specialist in hormone therapy, to get HRT because my regular OBGYN refuse to give it to me and this guy's response was "yeah, because they cause cancer"

I was so stunned I didn't really know what to say. I'm not going to argue with a medical professional, and I do understand that there are still absolutely risks associated with HRT that every individual patient should work out with their care provider, but I was really shocked to hear such a confident and sweeping "hormones cause cancer" coming from a doctor

Am I just naive? Is this still really the baseline thinking for most medical professionals?