Global warming is primarily caused by the accumulation of greenhouse gases (carbon dioxide, methane, nitrous oxide, etc.) in the atmosphere, which trap heat and cause the Earth's temperature to rise. Precipitation, the lithosphere (Earth's crust), and polar ice caps are affected by warming but are not causes.