99% it’s cable since the problem followed the cable and didn’t stay with the monitor. Only other thing I’d maybe test is by switching the port the cable is on the GPU. Very rare, but I’ve seen some GPU ports be slightly out of spec, but last time I saw this was like 2015 on a really old ATI card that was well overdue to be taken out back.
Update:
I lived with 1 monitor HDMI and 2 monitors Displayport for a bit, then I installed some shaders in Minecraft. I started having one of my screens randomly go blank then coming back when the GPU was under high load.
I finally bit the bullet and bought 3 high quality Displayport cables made by Lindy and all my issues went away