I used to think such loyalty was a silly generational thing. My generation was a fickle consumer. We would research and decide on a purchase based purely on merit. That's how I was with phones. When iPhone was the most compelling phone, I would buy an iPhone. When there was a more compelling Android phone, I would buy that.
However, as I get older I'm starting to understand loyalty, and it's not what I expected. It isn't a dogmatic belief in a brand. It's recognizing that sometimes it's easier to stick with what works and not worry about whether there's something better out there.
Now that we've been living with smartphones for a while, and they mostly just work, I don't expect people find as much value in switching between Android and iOS. As long as both exist, neither will ever reach 100% market share.