Bluetooth auto-connect can randomly switch your phones audio to nearby paired speakers or headphones. It does so without prompting you first and it can get pretty annoying. Theres no obvious way to stop this feature either. But there are workarounds.
Source : Use This Trick to Stop Your Android Phone From Auto Connecting to Bluetooth Devices