The sentence requires an adverbial clause of time introduced by the conjunction "when" followed by normal subject-verb word order ("the Earth's atmosphere traps"). Option A incorrectly uses question word order ("does... trap"), and Option C is a question structure that does not fit a declarative subordinate clause.