SSD controllers need cooling, not so much the flash
SSDs are more than just a cluster of flash cells. There is also a controller chip that queues up blocks of cells to be erased and prepared for writing again.
The controller is severely thermally limited in consumer devices which is why it's recommended to leave a large percentage of free space, for handling short bursts of writing gigabytes of new data. It takes a long time for a consumer grade controller to erase blocks and if you use up all available flash that is ready for writing, speeds will crash and you have to wait for the controller to slowly erase new cells.
The SSD flash controller is the main difference between different tiers of enterprise SSDs that talk about DWPD or Drive Writes Per Day, also referred to as Read-Intensive (slower) or Mixed-Use (faster). These SSDs run very hot to provide high write speed all the time, with air blowing over it constantly in a server or storage array chassis.