I'm old but, back in the day, we had to worry about "MIDI echo".
This sounds a bit like that.
Input and output have to be separated properly. They can "bounce" back into each other(?)
And, the newer (Sequential) synths have "MIDI In" separated into categories.
And "MIDI Out", also separated into categories.
[That would be the settings in Global/MIDI on my Pro3.]