A lot of this is down to the maturity of both iOS and Android - you buy a new phone from the same manufacturer and everything you interact with is exactly the same. I can pick up my iPhone 6s and have (more or less) exactly the same experience as I can with my iPhone 12.
The only reason to buy a new phone these days is because your old one's battery is dying or you dropped the phone