I've tried turning on usb debugging and updating usb drivers from device manager and nothing happened. I've also tried connecting the phone to an Acer Chromebook 15 that I own and still can't get the phone or the laptop to recognize other. Only the charging worked in both cases.
There isn't any notification in the notification areas.
The phone in question is the Pixel 4a with Android 13 and the laptop is the Lenovo Ideapad 3 15ALC6 with Windows 11.