Thermal friction as a solution to the Hubble and large-scale structure tensions | Synapse