Spotify Android doesn't disconnect its cast when another output is chosen in the app. (e.g. when switching to "This phone" while casting.) There seems to be no way to stop casting as there is in all other Chromecast integrations. All other apps have a "Stop casting" button which returns the Chromecast to the backdrop (its idle state).
Because Spotify can't stop casting the Chromecast is left in a state where the Spotify Chromecast app is stuck waiting for a new connection. This means to cast from a different app or device the Spotify session must be stopped manually from the casting notification or the Google Home app.
This issue has been reported before, in detail. See the following link. However that issue has been closed despite the problem not being fixed.
Spotify needs to explicitly stop casting when the output is switched, or offer the standard "Stop casting" button when switching output.
https://community.spotify.com/t5/Ongoing-Issues/Casting-connection-issues-using-multiple-devices-groups/idi-p/1921620
I'm currently using Spotify 8.4.37.587 armV7 and Chromecast 1.29.194827
All other Chromecast apps stop casting correctly, returning Chromecast to the backdrop.