There are issues other than cost, like speed and expediency. Solar and wind are far cheaper than gas and coal, but they take much longer and are harder to permit. Basically oil, gas and coal are favored by regulation and subsidy.