As someone who's been using Apple products for over two decades at this point, I obviously have my own biases, but I would argue that Apple products have historically been popular because they've historically been pretty good. Historically at premium (and sometimes outrageous) prices, not universally the best for all needs, not even universally good, and as a company Apple and their decisions are certainly not above criticism, but in general their products are good.
That's still somewhat true - they do not yet dominate laptop or desktop markets, and outside the U.S. they are not (as) dominant in smartphones.
But they do dominate some of the newer product categories, just as they dominated portable music players - tablets, smartwatches.
I'm unsure how much of the headphone market they harvest.
My point of all this is that many got the pleasure of feeling unique and "smarter than the rest" by getting the novelty Apple items that most people were too ignorant to value. But it evolved over time and now maybe it's something else?