1) The US has good hydro resources (in the northwest where it rains all the time and there are lots of mountains so you have both lots of water and altitude change) as well as nuclear (especially in the long-industrialized northeast) that (mostly) has long been paid for and that we just keep running for cheap. Nuclear is about 19% of our electricity, and it's cheap once it has been built for decades.
2) Lots of cheap wind, especially in the middle of the continent where all the maize and stuff grows.
3) Way better solar resource especially in the south and southwest where it's about twice as much sun as in Germany and with much, MUCH less seasonal impact. See: http://www.sunisthefuture.net/wp-content/uploads/2013/03/Sun...
4) Like Germany (but even more so), LOTS of coal. Over a quarter of the world's recoverable coal reserves. However, we don't even use that much of it anymore. Just the cheapest kind (usually not the crappy lignite stuff that Germany often uses for power) is still used for power. We use much less than half the coal for electricity than we did even 10 years ago. Because...
5) We have a ridiculous. A RIDICULOUS amount of cheap gas right now. Fracking has opened up the spigot. Texas, Pennsylvania, Lousiana, Oklahoma, Ohio, etc, etc. (And Canada produces a bunch that we end up using because they don't have anyone else to sell it to and it's produced a long way from Canada's cities.) We make so much natural gas we export it to Mexico, and are even starting to liquefy it and export it to Europe.
So yeah. While Germany has long relied heavily on imported fossil fuels, the shutdown of nuclear plants hasn't helped. Think of how expensive it is to send natural gas all the way from wherever Russia makes it (Siberia) all the way to Germany and the markup Putin asks for. (and that's roughly a third of Germany's natural gas, IIRC)
And I think the way wind/solar subsidies work in Germany and different than in the US. In Germany, the solar subsidy is paid for by all the ratepayers. That alone is like 4.6 US cents per kWh on top of your electricity. In the US, the solar subsidy is funded as a tax credit which means the cost isn't directly borne by consumers but ends up being paid for or borrowed by the federal government. (Also, having twice as much sun means the same solar panel makes roughly twice as much electricity...) This has the effect of solar actually reducing the cost of electricity in the US while it increases the cost of electricity in Germany for the consumer... which probably is why German companies have been more reluctant to switch to electric cars than you think they would have been.
So yeah. The US has a huge amount of land, so really good solar/wind resources (and decent geothermal while we're at it), a pretty solid hydro and nuclear power situation, and massive amounts of fossil fuel. The US is now actually a net energy exporter. That's why electricity is so cheap.
You can check out good statistics for US energy production and consumption here: https://www.eia.gov/electricity/monthly/epm_table_grapher.ph...