Exactly this. Gas stoves are the flashpoint, because at the end of the day, people generally don’t think about what type of energy their heating comes from. The gas stove is the deciding factor that determines whether or not a gas line gets hooked up to a home or not.
Most people decide on a heating source based on price, not on the stove they want. In the US, in most areas, gas is cheaper to heat a house than electricity is. The may shift as heat pumps become more popular, but historically it has been the case.