It's not lunacy, it is being done for foreign policy reasons.
Manipulating the global energy market by making the US very competitive (or just able to compete in the market) means that Saudia Arabia, Venezuela, Russia, Iran, etc. can't push us or anyone else around by threatening our energy supply.
No matter how supportive you are of renewable energy, the very solid reality is that we aren't there yet and we still very much need oil.
When it comes down to it, much of US foreign policy revolves around convincing everyone else that we could win WWIII - explicitly so it does not happen. The nuclear deterrent is weakening as time goes by as people are less and less confident that their own leaders and the leaders of their adversaries would ever actually be willing to press the "destroy the world" button. Then they get to thinking there could actually be a shooting war that didn't turn into apocalypse (we don't need nukes any more, we have precision weapons that can take out a single room in a house being fired on the other side of the planet, being able to destroy a city doesn't really seem that helpful in war any more)
The world is a more complicated place than most people really want to think about, and the wonderful period of peace we are experiencing is the result of a complex game that is being played around the world.
People grew up in peaceful times and just assume everyone will be nice forever, it's just not true. If there is some way for a player to take advantage of another, eventually it will happen, it should be obvious by now that general human decency isn't guaranteed.
War is prevented by eliminating weakness, the United States adopted all sorts of policies after WWII to ensure it had no weakness and no comparable adversary. (why do we spend such a huge portion on military when our NATO allies spend so little? we want them to spend little so that military conflict within NATO isn't even a hint of an idea)
Energy would be a huge source of weakness which could not just be magically fixed over night (or in a decade or five) by renewables. Our oil policy is a power policy, not an environmental one. Pour money into energy companies to make sure that we have a huge refinery capacity here, to make sure that we have and actively develop fossil fuel resources and maintain the expertise to continue doing so)