For devices after Android 12, the user needs to allow AiDroid Cast to connect to a nearby device if need to play sound through a Bluetooth device.
When you first time receiving audio on the Android device, it will pop up a confirm window. Tap Allow then you can use the Bluetooth:
After rejecting the confirm window, you need to enable the Nearby devices permission in the settings of your phone manually: