The correct answer is: They were released by the geosphere.
The gases in Earth's early atmosphere, such as water vapor, carbon dioxide, and nitrogen, primarily originated from volcanic outgassing and other geological processes from the geosphere. These processes included volcanic eruptions that released gases trapped in the Earth's interior into the atmosphere.