Lots of retailers (both physical & online) have similar requirements, and many manufacturers have similar requirements for minimum advertised prices (such as Apple). I think the California AG's plan is to argue that the pricing rules combined with Amazon's large market share merit a judgement against them, but it's going to be an uphill battle to single out one company for practices that are common to the industry.
1. https://oag.ca.gov/system/files/attachments/press-docs/2022-...
2. https://oag.ca.gov/system/files/attachments/press-docs/REDAC...