Doctors earn well but not particularly different from FAANG-style software salaries.
I don't know how good these numbers are but here's some: https://blog.nomadhealth.com/complete-list-of-average-doctor...
For example emergency medicine doctor is listed at 366K average (~$162/hr). So when I've had to go to the emergency room and end up seeing the doctor for about 20 minutes, that's about $54 worth of doctor-time (as an order-of-magnitude approximation, ignoring fully-loaded employee costs since I don't have that number).
And yet the bill that arrives is on the order of ~$6000. Sure there's also nurse salary to pay for my visit and other legitimate overhead that's part of the actual "care".
So from that bill I got, over $5000 are inefficiencies and non-care-providing rentiers inflating the cost. Nearly all the bill goes to entities other than the actual medical care providers! So no, it's the the actual doctor+nurse salaries that makes the USA health care so exceptionally expensive.