Android Auto disconnects are usually solvable once you isolate wired vs wireless. Start with cable/port checks for wired issues, rebuild pairing for wireless issues, and ensure battery optimization ...
Android Auto, as a framework, is designed to link your Android phone to your car's infotainment systems in a manner more convenient and comprehensive than simply connecting to a stereo with Bluetooth.