By nature under load an SSD is going to be warm and at idle it's going to be at a lower temp.
The importance of temp is more about stability rather than fluctuation. When you have more fluctuations it's more expansion / contraction cycles on the parts which can cause them to break.
As for data retention temp doesn't really play into it, the data is either there or not.