I think it's due to a different focus: PostgreSQL chose to be "correct" and feature-complete, while MySQL deliberately didn't implement the full SQL standard, and went for ease of use and, arguably, the best performance.
You see this pattern all over the world, Unix versus Windows coming to mind. The best technical implementation of your software doesn't guarantee the best position in the market, even in a tech market.