Thunderbolt and USB-C peripherals on Macs with macOS Ventura installed and running on Apple silicon ask the user's permission before communicating with the device. The new function is referred to by Apple as "accessory security," and the name seems appropriate considering that it will stop unauthorized accessories from connecting to the Mac without the explicit consent of the user. Pay attention that the devices can still charge even if not given permission.