But many things that cause electricity to go out (floods, earthquakes... Russian invasion) will put out the gas too
I know it does happen but because the lines are buried it’s at least 2 orders of magnitude less likely.
Gas is obviously far more resilient, though not immune to more extreme problems. I’ve literally never experienced a gas outage, yet power outages are routine almost everywhere I’ve lived.
IME, this is objectively false. I've lived in the Northeast my entire life (40+ years). We have on average 2-3 power failures lasting more than a few seconds per year. I have never in my life experienced a natural gas system failure. The pumps that pressurize the gas are themselves powered by gas, and the delivery is not in any way dependent on the power grid; also, as someone else stated, gas lines are buried well underground.
A generator is a small investment to fix this and many other problems, without causing indoor air pollution.
Also I can make smores when I don't feel like getting a fire going.
I do have an induction plug in hot plate and for actually cooking its really quite good. It boils water faster than all but my 21k btu burner on just 110v, dumps no heat into the room, cools down when I lower the temp as fast as gas, and did I mention it dumps no heat into the room?
As far as air quality taking anything above boiling temperatures inside is super bad for your lungs no matter how you do it. The NO isn't nearly as bad as the particulates created by searing or frying.