The gynaecologist was rude. Someone can be both factual and rude, one does not preclude the other. He could have simply said "I regret I do not have the expertise required to treat your health issues but as discussed I am happy to refer you to someone who does."
Saying no politely isn't pandering, unless you have a strange definition of what "pandering" means.
Lots of people making assumptions about what the patient may or may not have said, but we don't have any information relating to that and speculation isn't helpful. We only know what the gynae said and yes it was rude. Maybe the patient was also rude - maybe not. We don't know.
This said I don't think he should have been ordered to treat transwomen in the future seeing as he does lack the necessary expertise, and I don't think he should have been suspended. A simple warning to be more professionnal in the future would have been suficient.