To make sure Strongbox can access your YubiKey over USB on Mac you need to add Strongbox here:
System Preferences –> Security & Privacy –> Privacy –> Input Monitoring
You may need to restart your device or Strongbox for these changes to take effect.