If you use a USB cable, Moto phones typically default to 'charging mode', in which case you have to switch to a mode that allows file transfer.
Steps:
1. Connect phone via USB cable
2. Unlock phone
3. Expand phone notifications
4. Click the USB connection notification to access the options
5. Select PTP in the USB options
6. In Windows, open File Explorer and locate your phone (eg moto g(7) power)
7. Browse the phone directories and copy files to PC
The PTP mode only lists media files when browsing on the PC. You can also use the File transfer mode but that will list all directories and files on your phone. Best to stick with PTP.
The attached screenshots show the phone notification and USB options screen. This is from a Moto G7 Plus so should be similar, if not the same, as your phone.