Medical schools admit a variable number of students each year although they aim to have a specific number. It’s difficult to switch medical schools because Med school curricula are very different from program to program. And also there’s just no standard mechanism for switching, you’d just have to schmooze some of the higher up administrators. Med schools don’t really get any advantage by taking in transfers unless they had a mass exodus of students and needed the money. So there’s little incentive for administrators to even bother with transfers. In residency you want all your positions filled so you can keep the funding and have enough staffing so if a position opens you want to fill it ASAP.
Not finishing a degree at one school suggests you're more likely to not finish it at the next school.
Why would schools take that risk when they can choose from 4,999 other applicants instead.