Simple. Increased atmospheric CO2 traps the earth's heat energy. Think of it as putting another blanket on the bed --- the more blankets you have, the warmer you will be.
The earth has cooled and re-warmed several times, primarily because the entire system is driven by solar output (which varies). CO2 is (to a first approximation) transparent to visible light, but opaque to (and traps) infrared light (which is a form of heat). The Earth absorbs visible light and then either re-radiates it as infrared light or stores it and converts it to IR (for example, when it gets turned into plants which you eat and then radiate as body heat).
If the sun produces more light, then more light will hit the earth and be re-radiated, raising global temperature. If the sun produces less light, then less light will hit the earth and be re-radiated, lowering global temperature. If the room is cold, the bed will be cold (and you'll probably want more blankets); if the room is warm, the bed will be warm and you might even want to throw some of the blankets off.
The problem is that we know what the solar radiation is like right now, and we're seeing too much warming for the amount of radiation we are getting. In other words, the room isn't getting any warmer by itself, but someone threw another blanket on the bed, so we're getting warmer.
Unfortunately, it looks like we're getting uncomfortably warm under our extra blanket, and we don't seem to have any way to either remove the extra blanket or to turn down the sun. We know that eventually the room will cool all by itself, but that may or may not be for thousands of years, and we're getting too warm now.