My understanding is that CO2 absorbs long-wavelength infrared energy and doesn't stop the rest of the radiation/light from hitting Earth's surface, while smoke and soot, being opaque, partially prevents the light from reaching the surface and reflects the energy back into space.