Even the AMA believes it’s wrong for a physician to decline to treat.
https://www.ama-assn.org/delivering-care/ethics/can-physicians-decline-unvaccinated-patients
Is there a reason that you chose to cherry pick what was said in this link. The AMA is a wildly liberal organization and in general doesn’t speak for a lot of us — however in the position paper quoted here it does say that urgent or emergent treatments cannot be withheld — so much so obvious. It does give several hypotheticals where it would to be unethical to deny treatment — and in this particular case of the OP, it falls into that bucket.
Did you read the position paper, or just the headline?