I think it's all about the overall package.
Think about when you buy a device. We'll start with Android since it's by global marketshare the biggest.
Android devices:
Wide range of user experiences due to different hardware configurations
Different core software packages - messaging, phone, video, email and maps in addition to gmail, google maps etc.
Different software button configurations (back, home, fingerprint sensor placement etc).
A more open operating system, can experiment side-loading apps or things such as lineageos.
iPhone:
Smaller range of user experiences due to it's strict software support cycle.
Same core software packages
Nearly identical software layout across devices, some differences with a physical home button/Face ID etc.
Not as open of an operating system, but a ton of apps available on the App Store.
So what's better for the average consumer? I would argue it's the iPhone because it takes the guess work out when communicating with family and friends.
Want to FaceTime mom across the country? 1 button away and she will know how to get to it.
iMessage images/videos? No need to worry about compression or asking to jump to WhatsApp etc.
Sharing images/videos? You can share albums within the stock photos app. There is no guesswork as to what 'photos' app it is. It's the same one that's always been there.
There are ton of other examples, but you get the point of it. There comes a point in time in where consistency is the most important for a wide variety of people. My mom was always terrified of using a Windows PC, but we got her comfortable with an iPhone many years ago and opened up to the idea of getting a MacBook to try it out. She loves it, she knows how to airdrop, copy items back and forth etc. This would have never been possible with an android/windows setup.
Now android has some strong points in terms of what you can do with the device if you are technically savvy enough. The issue boils down to how much do you want to customize? Do you want to load lineageos to try it out? Perhaps Ubuntu Touch? Well, you have no other option and the amount of different configurations you can try are endless to get your perfect setup as you desire.