Rough order of magnitude, but for a lower cost wafer (think like 90nm or above, not 7nm), electricity and energy could be about 10% of the overall cost. As a lot of the capital cost of the automation and industrial equipment is the same wherever in the world you are, that might be an important factor.
Taiwan is an island that imports almost all of its energy. Texas is an energy rich state with lots of wind, solar, and especially natural gas that is exported to the world.
We talk about higher natural gas prices in the US with Texas seeing slightly above $4/MMBTU, but LNG prices in Asia are above $35/MMBTU at the moment, nearly an order of magnitude higher. The government of Taiwan is basically eating half the entire cost of LNG right now to keep costs low for businesses and consumers, but that’s not a sustainable strategy. (At the moment, industrial electricity is about 13¢/kWh in Taiwan even with the government subsidizing most of the LNG cost and 7-8¢/kWh in Texas.)