Ardour resets routing when I add a new track

When I add a new track (regardless if it’s MIDI or Audio), some of my existing Audio tracks reset their routing to system capture. Previously I had their input disconnected.

The same happens with existing MIDI tracks. If they have input disconnected, they revert back to the last (MIDI controller) input I had for them.

Is this a bug or something I overlooked as a new Ardour user? It’s strange because not all tracks reset, some of them remain disconnected and I don’t understand how the program chooses what to reconnect and why. I’m running latest KXStudio with Ardour 4.2