Because of cost.
Inverted shocks are more expensive to make, and although they are better by design, as they are more rigid and have less unsprung weight than conventional forks, it’s marginal.
They give a slight advantage on competition bikes against the higher cost, but the vast majority of riders would probably not be able to discern the difference, and tell which type of fork was on the bike without looking.