Both consumers and governments penalize firms for having adverse effect on the environment. Governments levy huge fines upon companies for polluting. Companies are also rewarded for having positive impact on the environment. The consumers are willing to switch brands if they find a business is ignoring its environmental duties.
Impact on the environment is a rising concern. Note that the environment benefits the company too. Running water for a hydro-power plant is an example.