It’s not just that. It’s usually a combination of low bonuses/stock rewards, minimal raises, no promotions, uninteresting/less meaningful work, and less effort put into coaching them. Basically all of the stuff managers should be doing normally.
If someone’s on the receiving end of all of those things they’ll usually leave sooner or later. Who wouldn’t want to?