The playback in Android Automotive (not to be confused with Android Auto) in Polestar 2 is poor due to low bitrate in the Spotify app. Please either increase the hardcoded bitrate in the app or make the bitrate a user configurable setting in the app.
Note that YouTube Music uses higher bitrate and sounds better on Android Automotive. You should rectify your low bitrate on Android Automotive before too many people migrate to YouTube Music.