It also could happen because tech companies have optimized their products to maximize the amount of time that people spend on them, often in ways that directly result in a worse user experience (by showing ads instead of the most relevant search results, for example).
It makes no sense what you say. If the experience with A was really worse than with B, people would stay with B.