Apple’s support cycles must play a part? You can get a 6S or SE from 2016 that will run mostly fine still at an okay price.
That’s without even mentioning the nightmare of trying to weigh up dozens of Android phones over multiple years, finding out which ones still work reliably several years down the line, etc.
In practice even though you don't get OS and then security updates anymore, the way Android works, relying on Play services and individual apps upgrades, means you can still use old Android phones for a very long time.