Sound issues

The sound (not music) that is turned off, is turning on when I switch from in-speaker to BT speaker. The same when I switch back.
Every time I have to go to settings, turn on the sound and turn it off again.
Samsung S9.