New car purchasing behaviour follows the law of double jeopardy. ie. Toyota has high repeat purchase rates because it has high market share, not because of loyal customers.
At least until the last 10 years people would try and sell Toyota on safety and reliability. People who wanted to extract every cent out of the cars life would get a toyota because it would legit go the distance without failure. Dealer told me that it doesnt hold true anymore due to electronics. But old corollas are still legendarily reliable first cars for teenagers. And I recall the used market for old hiluxes is beyond belief.
I'm only in my thirties, but I've been hearing this exact (!) sentence, about every single brand, throughout my entire life. Surprisingly, most of the brands are still fine and selling cars.
I keep hearing that too and it feels like a huge attribution error: the cars die because of the electronics because they are the new component with the shortest lifespan, so people blame them. Yet people fail to notice that the longevity of cars is on average, trending up while the amount of electronics in them has exploded. And it makes sense if you think about it for more than a second: which would you rather die first, the cheap electronic board/sensor or the expensive mechanical part?
Second hard markets for second hand cars a little bit different, reliable cars end up having higher loyalty through selection bias since they simply exist longer though.
Toyota doesn't really make money on a Hilux after the first sale though.
In my experience it has more to do with quality and affordability. If you like your Toyota Camry, you're probably going to get another Camry. Subarus are slightly different in that they have cornered a niche (snowy mountain driving) that many owners swear by.
Subaru has the snowy country people and gays down. Nissan used to have the same type of affinity with black customers - when treating alienated customers with respect is a novelty, people demonstrate loyalty.