You are say the effect (gases warming) is the cause. That is wrong the cause is the UV radiation not the gases.
A blanket in your bed doesn’t make you warm either. It is your body heat. But without that blanket, your bodyheat would escape. Thus, I dont understand your point.