Edit: But there are still way too few residency spots. I think it has to do with the difficulty and administrative work around starting a new program or with getting federal funding for more spots.
Edit: Every time this comes up I go down a rabbit hole of looking for an article from the mid-to-late 90s where a medical lobbyist spoke about how doctors would be forced to leave the profession and do "mundane" jobs like driving cabs if the residency slots weren't capped. It did not paint the lobby in a good light, and I've love to see it trotted out today. I never have been able to find the article online. If somebody with better search-engine-fu than me can find it I'd be greatful.
https://www.ama-assn.org/press-center/press-releases/ama-fun...
https://www.baltimoresun.com/news/bs-xpm-1997-03-01-19970600...
Or maybe this one?
https://www.nytimes.com/1986/06/14/us/ama-board-studies-ways...
If it helps, think about it this way,
how does the malpractice work?
There are a lot of indirect costs around residents. For example, staffing mandates. Think what implications there are to regulations that say, for instance, no more than 4 patients for each RN on duty. That said, there are a lot of indirect funding sources too. The problem is, of course, sometimes the funding doesn't equal the costs depending on where you are.
And now we come to the rub. Which of the MDs are willing to do their residences in places where everything matches up nicely to support a lot of residents? Keeping in mind that those places may not be Sarasota, or Tampa, or Charlotte, but rather places in Alaska, a small desert city in New Mexico, or some small place on the tundra of North Dakota.
If you're asking, does the US government give enough funding? You can get an answer that's "Yes" if you consider nothing else.
Does that funding cover every regulatory cost of having a provider on staff? Not likely, depending on the rules in the state you're in.
Does that funding get to where MDs want to practice? Rarely at all does that happen.
https://www.inquirer.com/business/hahnemann-university-hospi...
Look up Graduate Medical Education program for more info. For more key words, see this document from the U of California system that has an agenda (increase capacity) but also effectively lists salient points: https://www.ucop.edu/federal-governmental-relations/_files/f...
https://www.aamc.org/news-insights/us-medical-school-enrollm...