The cooling effect (reflecting shortwave solar radiation back into space) outweighs the heating effect (trapping longwave radiation from the planet's surface).