They don't have the CARB mandated anti drip/vapor/whatever bullshizt installed, which in reality don't work worth a crap, and make you spill more.
They are legal in CA because you are not buying Jerry Cans for gasoline, you are buying Utility cans for water.
The same reason these are "utility jugs" not gas cans:
Utility Jugs