It's probably Android Driving Mode.
Search settings for "driving mode" and either make sure it doesn't set "Do Not Disturb" or you probably just want to turn off the driving mode option so that it doesn't start automatically.
With Android Auto, I don't think Driving Mode really does much that...