How to connect to wifi while connected to a device through thunderbolt bridge
Choose Apple menu > System Preferences, then click Network. In the
list on the left, you see the connections/services.
Click the Action pop-up menu at the bottom, then choose Set Service
Order.


Drag a service, in your case WiFi, to the top of the list.


Click OK, then click Apply to make the new settings active.