"fewer people see the need to upgrade from Android 12 to Android 13" - not at all, as 99% of people like new features etc. Problem is OEMs are very slow to put updates out, and apart from Samsung the support is for really short periods. Apple does a way better job of ensuring 6+ years of updates, but then they manage the OS as well as the hardware. Just today I got Android 13 on my Samsung Galaxy A13 4G phone, but as the phone is only 3 months old, I'd expect nothing less.
Apple recycles the hardware in a lot of devices, it's basically end of sale + 2 years or so, but that's end of sale for the SoC, if another device has the same one then it will continue receiving support (iPad 2 A5 was in a lot of devices).
Android is also quite different since a lot of the security patches are via the play store now, and the higher the major OS, the more components are updated via it (also resulting in smaller patches, not requiring reboots, etc.), this started by at least Android 9 (Project Marble), the higher the Android version, the more component are managed by the playstore, list of which components are moved over every release.
So the improvements regarding updates is great, but slowly becoming less relevant, google just wants you to keep using the device securely so you keep using their services, they don't really care if you buy a new phone. Apple's kind of similar in that they are/have moved over to majority of revenue from being locked into ecosystem, so supporting hardware is good for them so you do high cost purchases with ease of mind, and try and keep that reputation since once they lose it they can't really get it back (no matter how badly they keep messing up their hardware and consumers, from purposefully hamstringing battery/other hardware replacements, faults in their laptops from basic things like too short display cable and running the main power line next to the CPU trace and somehow not expecting it to ever bridge, etc.).
And also Apple can wait until ready to release an OS update, Android first does an OS update, then OEM's get it and can update their phones.
EDIT:
/EDIT
Do note, security patches over 3 years has only been possible since QC finally started supporting their SoC's longer.
Samsung has done security patches for as long as Apple on a lot of their Exynos devices, e.g. S6 got a security patch 4/5 years after release, rivaling the iPhone 6 (and no, I don't consider the 12.4.1+ updates late 2019 as valid, those are all because base system apps have security holes, those would be patched through the play store on Android).
It's going to be interesting to see the next few years how it goes since EU mandate will be 3 years of OS updates, and 5 for security, 2 months limit after public release of security patch.