Earth has the benefit of a thermal mass that's at least a couple times larger than your average terrarium.

nitwit005

3 hours ago
Everything exposed to the sun will heat up until the energy it emits balances out the incoming energy.

Being a larger mass just means an object will take longer to heat up.