Public opinion is not the only reason, but it is a major reason. And the public tends to care less about the environment when unemployment is high (according to this paper.)