The energy source for AC is a big issue but the refrigerant gas in most AC units cause issues for the ozone and for global climate change.
1. https://en.wikipedia.org/wiki/Refrigerant#Common_refrigerant...
It's a very unfortunate outcome of phasing out CFCs that they have in many instances been replaced by powerful greenhouse gases. HFCs are slowly phased out as well, but there are still a lot of harmful gases out there.