I think the core reasoning behind ban on new gas stoves is "We have to DO something!", and that they can do fairly easily. Does it make a difference? No. Does it save the planet? No. Does it make sense? No. But they are DOING something.
The nuclear power issue is a lot more textured in the political realm. But IF CC is a major major threat, nukes really are the only practicable solution over the next two decades. But it isn't practicable because of politics.