The iPad volume controls actually control 4 different volumes. Headphones, Bluetooth, speaker and sound effects. Which one you are controlling depends on the mode you are in at the time. If you have headphones attached, volume controls headphones, pull them out and it controls speaker, attach Bluetooth and it controls that. Switch on sound effects in settings and it controls that. It's quite a bit of work for one rocker switch.
Sent from my iPhone using iPF