The ratio of attending physicians to residents must be relatively low, something like 1:4, so a hospital cannot get more residency spots approved unless it also hires more attending physicians.
If there is a shortage of attending physicians, then we need more residents.