It is correlation, not cause. Shorter URLs tend to accompany higher-ranking pages because they travel with cleaner site structure, better click-through, and easier sharing and linking, and those are the things that actually carry the effect. URL length itself is at most a tiny factor and not the reason short URLs and good rankings keep showing up together. If you held everything else equal and only shortened a URL, you would not see a ranking lift. The length is a symptom of doing other things well, not the cause of the outcome.
The confound is structure. Sites that produce short URLs usually do so because they have thought-through architecture, sensible categories, and clear topical organization, and that organization helps both users and crawlers understand the site. The short URL is a downstream sign of that discipline. When you see short URLs ranking, you are largely seeing well-structured sites ranking, with the URL length along for the ride rather than driving anything.
The second strand of the confound is human behavior. A short, clean URL is easier to read in the results, which can lift click-through, and it is easier to copy, paste, and link without breaking or looking spammy, which can earn more links over time. Those clicks and links are genuine ranking-relevant effects, but again they flow from readability and trust, not from the character count. The length correlates with them because clean URLs tend to be short, not because shortness itself summons clicks.
Naming the confound directly is what keeps you from optimizing the wrong thing. The instinct is to start hacking words out of URLs to make them shorter, expecting a ranking payoff. There is no payoff in the length, only in the structure, click-through, and linkability that good URLs happen to have. Chasing the number misses the actual drivers entirely.
So keep your URLs clean for the real reasons: build them from a sensible structure that reflects your site’s organization, make them readable so people click and share them, and let them be short as a natural result of that clarity rather than a target you grind toward. The brevity should be a consequence, not the goal.