You would think so, but that's not as simple as you would think. On Earth that cooling generally happens by conduction and convection to the air.
In space there is mostly no atmosphere, you have to radiate that heat which isn't quite as easy as it sounds: https://www.space.com/21059-space-station-cooling-system-exp...