... no... that's kind of the problem.
To clarify, the gasses aren't "trapped", it's solar radiation that is trapped. The atmosphere is a mix of gases, with different gases in different quantties. Various geological, atmospheric and biological systems have kept the different gasses within a stable homeostatic range for a very long time. The problem is that for the past 200 years, humans have been burning fossil fuels at a rate in excess of what the natural systems can absorb, and as a result, various greenhouse gases, of which CO2 is the most obvious one, have increased way outside of the normal ranges, and the more CO2 there is, the more it effects the climate, and the more it effects the climate, the less able the natural systems are able to deal with it.
The atmosphere is largely a closed system. What CO2 we put into the atmosphere stays there, until it gets absorbed by photosynthesising organisms, and absorbed into the ocean (which causes other problems, like increasing ocean pH, which effects calcifying organisms like shellfish and coral, killing them and dissolving their hard tissue, which leads to, you guessed it, further CO2 release and increased ocean acidification
Ocean acidification | biochemistry)
previously the cycle has had natural peaks and troughs, but always with a stable range. We've dumped so much CO2 into the atmosphere that atmospheric carbon is wildly outside the stable parameters of the natural cycle. See below:
View attachment 31086