https://news.climate.columbia.edu/2023/04/25/the-truth-about-gas-stoves
Compared to cooking with an electric stove, cooking with gas also produces twice as much harmful particulate matter, which can have health impacts on the heart and lungs. Gas stoves can also release formaldehyde, a human carcinogen, and carbon monoxide, which is odorless and can be toxic in high concentrations. Carbon monoxide levels have been found to be three to six times higher in homes with gas stoves.
A gas stove also pollutes when it is off. A 2022 study found that gas stoves, even when not in use, can leak as much benzene, a carcinogen, as secondhand cigarette smoke. Another study that analyzed natural gas samples found that 95 percent of them contained benzene, for which there is no safe level. That study also found 21 hazardous air pollutants in unburned gas, including hexane and toluene, which can affect the nervous system, liver, and kidneys.