Sunshine reflected off the planet’s surface back into the atmosphere causes those gas molecules to vibrate, warming the atmosphere. More CO2 leads to more warming, causing climate change.