It sounds like the computer briefly dropped into a video mode that the monitor can't do.

This can happen when the video cable is loose or broken inside causing the computer to misread the EDID data (EDID is the information the monitor sends to the computer listing the monitor mode capabilities).

But if the EDID data is read wrong then I'd expect lots of other brief glitches on the screen from video signals too.