When connecting the phone you’ll get a notification on your phone as well. Tap on it and you’ll see different options what the phone can do with this USB connection. Default should be charging only, so you’ll need to switch to MTP, then your files should be available again.
4 Likes