Yeah it's crazy to me, especially in earthquake-prone places like Japan or California.
I bought a house here in Japan last year and replaced the gas with all-electric due to concerns of not only leaks and disasters but also just in day-to-day use gas isn't good for indoor air quality.
The one place gas makes sense is heating in cold climates because furnaces are externally vented.