Gas stoves don't contribute that much, but gas heating does.
We are already switching away from gas heating to more durable alternatives like heat pumps. Equipping new construction with a gas hookup when you'll be ripping out the gas furnace within a few years makes no sense.
Once you get rid of gas heating, maintaining a hookup to the gas network isn't really economically viable. You'll end up paying literally orders of magnitudes more for maintaining the infrastructure than you do for the gas used for cooking.
Gas stoves will go the way of petrol and coal stoves. Not because there's anything wrong with them, but because reality has passed them by.