This is really far too broad a brush.
Do most medical students publish useless case studies trying to jockey for residency spots and signal hustle/devotion? No doubt!
But there are a good handful of medical students who are still (surprisingly) in it for the medicine and not the money. And that handful is exceedingly capable; no reason they can’t publish valuable work with the right collaborators and resources.
> no reason they can’t publish valuable work with the right collaborators
Despite h-index claiming to balance quantity and quality, it obviously incentives quantity over quality (no single publication can increment h-index as much as churning out a few worthless publications that cite each other); med students overwhelmingly follow those incentives trying to secure better residencies
in that case, it's a question of proportion. we cannot automatically conclude that a (supposed) "good handful" doing good research makes up for "most students" doing bad research.