Everyone is buddies with someone in politics, otherwise screw your career.
Laws are mainly pre written by the industry which is afraid of the risks associated with tackling the challenges involved in climate change. But also afraid of doing nothing, since this would make them clear targets for disruption through voters. So when they do change something it is always in extremely small steps, limited in scope, without changes to the wider system.
While politics give a clear sense of direction regarding renewable energy, the whole thing seems to be to complex for politicians to fully grasp.