Windows can move to a different monitor if a game for example changes the desktop resolution to something lower than your default res.
Easiest way to move the window between screens (as long as it is selected) is the Win + Arrowkey combination, so for example you have the virtual monitor on the far right as the last screen, then you would use Win+Leftarrow to move obs to the 2nd or primary screen.