Green sources are becoming more and more cost effective because of lots of tax money went into them because people care about the environment.
Eventually there shall be plenty of more green alternatives that are more economically interesting than coal, but they only reached that place in refinement because environmental focused measures took place.