A surprising number of gas stoves do not work without electrical power. It's supposedly for safety reasons because a user might leave the gas on after the electronic igniter fails to fire. Of course, it's possible for a sufficiently incompetent user to turn the knob past the light position and achieve the same result when it does have electrical power, so this feature strikes me as nonsensical.
I had an annoying experience with this during a multi-day outage in Alaska last year. We did have other options including a generator, but I'm not a fan of being patronized by an appliance.