Is this the case for new construction too? Why aren't heat pumps used these days?
They lose efficiency in very cold conditions (https://en.wikipedia.org/wiki/Air_source_heat_pumps#In_cold_...). Albany, New York (https://www.weather.gov/aly/SpecialDataALB) has an official all-time record low of -28F (-33C), which is well below the point where air-source heat pumps have any meaningful efficiency advantage over even resistive heating.
Heat-pump solutions that use the ground as their heatsink are much more expensive because of the excavation required.
What we do have in Sweden is cheap renewable electricity so choosing heat pump over oil/gas doesn’t just mean electric it means renewable over fossil too.
Heat pumps are likely not used in New York state because most of them cannot warm the house sufficiently during the coldest winter temperatures (0F or less).