I have this issue sometimes. If switching doesn’t work automatically when my Bluetooth speaker is turned on it’s not an quick option to select them.
Apple has a “select audio out” menu thats on a lot of music and video apps. It shows “Apple airplay enabled” devices and makes switching easy. If it’s just Bluetooth it’s harder (you have to go into setting…)