Diagonal promotion is a real thing across Silicon Valley.
I believe it is because the company that currently employs you knows you relatively well, both your upsides and your downsides, it has seen your good code and your bad code. It has you, and knows your level of work, and assumes you will keep going, regardless.
Whereas the new company has much more limited information and, as it needs someone more, it has to take the plunge.