It sounds acceptable, apart from the fact that "a blanket of something" is a common phrase. I'd redress it this way: The gases form a layer / blanket of fog that prevents heat from reflecting back into outer space and increase s the greenhouse effect.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.