Lawfare.
It is absolutely Lawfare, and it has been a tradition of Democrat NY Attorneys General for decades to manufacture such political attacks on leftist bogeymen like health insurance companies, big oil, or the NRA - to shake loose vast sums of money for the state, and to boost their own national leftist political bona fides.
Spitzer did it, Cuomo did it, Schneiderman did it, and now James is doing it.