Using speakers on both screens depending on window location

Solution 1:

Rogue Amoeba make SoundSource [$29 USD plus any local tax] which can direct sound per app - though not per monitor, you'd have to set that up manually.

enter image description here