A greenhouse effect—heat was let in through the windows and some was trapped inside.
This is why a car gets so hot when sitting out in the sun. Heat can't get out, and more and more is being let in from the glass of the windows. This heats up the car quickly.
Hope this helped. Good luck!