California objects to Red Dye No 3 (probably in the pink ones). And to titanium dioxide pigment.
Titanium dioxide is very fine when used as a pigment. It might be dusty. And I would not be surprised to hear that when inhaled in a dusty environment those without facemasks might risk cancer on long term extended exposure. But once its in candy that seems very unlikely.
Sadly the lawyers and lawmakers seem to lack even the most fundamental understanding of these differences.