Here’s a check list of things to go over if you are seeing stability issues with USB connection with an Unexpected Maker ESP32-S2 or ESP32-S3 board.
Make sure you are using a proper Data and Power USB-C cable.
Not all cables to data, and not all cables (especially long ones) are made well. Use a good quality cable.
Don’t use a USB Hub – Direct connect your boards to your computer USB port.
Not all powered hubs provide enough noise free current, and not all powered hubs actually deliver 5-5.1V required to run the boards.
Un-powered hubs are even worse as they draw their power from the host, and not all computer USB ports can deliver steady voltage and current going through a hub.
Try flipping your USB-C cable over.
USB-C cables can be inserted in either direction, and sometimes there might be dust or other foreign bodies in the connector that hinders one side from making good electrical contact, and flipping it over can improve it.