I'm going to assume you mean MacOS Ventura (13). I've seen something similar and strange years ago with El Capitan, and how it deals with multiple (2) monitors. Take a look at the advice from back then regarding the sometimes strange interaction of MacOS with XQuartz.
[
afni.nimh.nih.gov]
I haven't had a chance to try Ventura yet, but it also may be that Ventura has some problems with external monitors, possibly intermittently. You may want to see the effect of HDMI vs Thunderbolt connections, reduced resolutions/colors.