Clearly, using a gas stove releases greenhouse gases. Producing the gas they require also releases greenhouse gases.
That being said, if your goal is to heat something, and your choice is heating it with gas, or heating it with electricity generated by a gas turbine, the gas stove is likely more efficient.
However, as the grid includes more renewable electricity, the scales tip toward the electric stove.
Now, in regards to indoor air quality, there can be little doubt that an electric stove is preferable.
https://www.scientificamerican.com/article/the-health-risks-of-gas-stoves-explained/
The Health Risks of Gas Stoves Explained
Gas stoves produce emissions that can harm human health and the environment. Experts answer questions about the dangers and how to limit them
By Tanya Lewis on January 19, 2023
Editors Note (5/3/23): New York State has become the first state to pass a law banning gas stoves and other gas-powered appliances in new buildings, including houses and apartment buildings. The move is intended to reduce greenhouse gas emissions, but gas stoves also pose health risks, as this article published in January 2023 explains.
The Internet has been aflame in recent days over gas stovesspecifically, over whether they are harmful to human health and can or should be banned in the U.S. But this is not a new issue.
Scientists have long known that gas stoves emit pollutants that irritate human airways and can cause or exacerbate respiratory problems. The recent furor seems to have been set off by
comments recently made by Richard Trumka, Jr., a commissioner of the Consumer Product Safety Commission (CPSC), a government agency that addresses the risk of illness and injury from various products. Speaking about the commissions plans to potentially regulate gas stoves, Trumka told Bloomberg News that any option is on the table. Products that cant be made safe can be banned.
In response, conservative politicians (and Democratic Senator Joe Manchin) pushed back strongly against what they perceived as an attempt to ban gas stoves. House Republicans even
introduced legislation to prohibit the CPSC from outlawing the popular cooking appliances. The chair of the CPSC recently clarified that the commission is not planning any kind of ban but is seeking public comment to make gas stoves safer.