I wonder what those thermal environment differences were.
Offhand, I can think of a few:
While both had to withstand frequent eclipses on a 90-120 minute cycle, the earth's albedo is considerably higher than the moon's. The moon, however, is much hotter at the subsolar point so its far IR contribution is much higher. This was the main reason for adding a water boiler as backup to the CSM's radiators.
The lunar CSMs had to withstand deep space away from both the earth and the moon, although they were in a BBQ roll during this time.
The Skylab CSMs spent most of their time docked to Skylab and had to follow its attitude changes.
The Skylab CSMs exhausted their fuel cell reactants before each stay was over, so their environmental control systems were presumably shut down at that time and reasonable temperatures had to be passively maintained. Batteries were added to the SM for powering the trip home.
What else?