NVRAM can affect your Mac’s USB-C ports. MacBook Pro uses Non-Volatile Random Access Memory (NVRAM) to store basic system settings, such as the startup disk, display resolution, and other system-level settings. These settings can include the configuration of the USB-C ports, such as their power management and connection settings. There's a slim chance that resetting NVRAM will reactivate your USB-C ports, but it's worth trying if you've exhausted all other options. You'll find the instructions here.