Start by swapping the USB-C cable first - it's cheap and often the culprit, especially if you've been using the same one for a while. Frayed or damaged cables cause exactly this kind of intermittent dropout, and since the problem happens with multiple drives, the hub itself might be fine.
If a new cable doesn't fix it, check your hub's power supply. Many USB-C hubs need external power to maintain stable connections to high-bandwidth devices like SSDs. If yours is bus-powered (drawing all power from your laptop), that could be why it's dropping. Try plugging it into a powered hub instead, or if you already have one plugged in, make sure the power adapter isn't underpowered. Also check the hub's firmware - some manufacturers release updates that fix connection stability issues. Look up your specific hub model and see if there's a driver or firmware update available.
If you've ruled out the cable and the hub still drops, it might be a port issue on your laptop itself. Try using a different USB-C port if you have one. The laptop port can wear out or have loose internal connections that cause dropout problems. If the hub works fine on another device, that confirms the issue is with your laptop's port rather than the hub.