Don't play sonar sounds over Bluetooth

I want to listen to my favorite songs from YouTube musik before sleeping on my Bluetooth speaker. Why cant I use my own musik apps to play my own songs from online services (ok, Spotify is supported) and after ca. 20 min sleep as Android will stop the musik and disconnect the Bluetooth speaker. Now sonar sounds are played over Bluetooth