Normally, using the command-` shortcut cycles between open windows in an app. If two windows are open, it will switch between them.
Since release of Ventura, SD doesn’t work quite that way. Sometimes, it cycles to another window but does not cycle back. Sometimes, it doesn’t switch windows at all. Sometimes, command-shift-` doesn’t work i.e. cycling back through open windows doesn’t work.
The built-in shortcuts do work i.e., command-0, command-1 etc.
I use command-` a lot as I often have to work on two or three files at once. So, slows things down a bit.