That looks to me like a fault in the analogue video outputs section of the game PCB. It could possibly be a monitor fault too, but start with the game PCB.
Download a copy of the schematics, say from here:
https://www.mikesarcade.com/arcade/manuals.html
First check the voltage regulator section shown on sheet 1, side B "Power Input"
Find and check +5V DAC, +15V, -15V, +8.2V and -8.2V.
Don't worry if the +8.2V and -8.2V are not exact, I've seen them down to about 7V without showing any video problems. I don't think I've seen any exactly 8.2V!
If all the voltages check OK then it could be a chip failing as it heats up. Look at Sheet 2, side B Video Outputs.
I'd get a can of freezer spray and start working across the TL082's, the 4016s and finally the AD561 DACs.
If you don't have freezer spray (and it seems to have got bloody expensive to buy recently!) you could consider putting an ice cube inside a plastic bag and holding it against the chips in turn just after the fault appears.
Regards,
Neil