Faced the same issue with my Pixel 7. Could only connect via network. Confirming @shdwlynx solution of turning on USB debugging on Android 14, Google Pixel 7 connecting to Windows 10 ver. 2.1.01.