Consider the basic scientific logic here. When rays come from the sun they go right through carbon dioxide molecules, but after striking the earth the rays bounce off carbon dioxide molecules and are trapped in the atmosphere. It could only make sense to these people.
Well, looking at it logically, coffee itself, as well as any other agricultural product, is actually CO2 neutral. Any CO2 that is released in the coffee bean cycle was taken from the atmosphere first. It is NET ZERO.
The only CO2 that could be attributed to coffee would be the distribution.
There is some merit to the understanding of Greenhouse Gases. A greenhouse works, right?
The frequency of light is different in the two scenarios you describe. White light, composed of many high frequencies, from the Sun can penetrate atmospheric CO2, though much of the lower frequency infrared cannot. When it strikes the Earth, it warms it and the Earth emits a lot of infrared. This can, now, not easily escape the CO2 in the atmosphere. The result is greater warmth.
Of course, these dimwits are lying about the magnitude of this effect and the necessity of atmospheric CO2 to life, I believe. Like COVID they use a juvenile understanding of a subject and the endless energy of their jaws to see if they can get others to work for them.