The final insult is single-family home construction and remodel can elect to use gas if they want.
Who elects your city leaders? This is your own fault. If your city liked to model its policies after Russian policies, or Saudi Arabian policies, would that be those countries' fault?
California cities don’t, since their choice now is between “approve enough new housing voluntarily” or “lose the ability to reject new housing entirely”.
I'd imagine also that these things take years. First for the law to take effect, since that can't be immediate, and then for any enforcement of it to go through the courts.
Most bay area cities need to build more than they are, but I know that new construction in Berkeley is not zero. One of the last times I was there, I saw some new apartments going up.
I don't have a beef with California for mandating this. I do prefer gas stoves. I can get over it.