Early-time thermalization of cosmic components? A hint for solving cosmic tensions