The influence of thermodynamic versus dynamic processes on sea ice thickness in observations and models