Bonta sued Amazon in 2022, accusing the company of dominating online retail with anticompetitive tactics that raise prices for consumers.