> isnt that the main reason the salaries are so high?
It's because the NIH limits the amounts of medical residencies in the country, and to become a doctor with a license to practice, you must have completed residency somewhere. The amount of doctors in the US are kept at low numbers because of this.