I unplugged and plugged in the HDMI and wiggled it up and down. Now, the problem seems to have gone away.
So, it is some kind of connection issue.
I think wiggling it up an down fixed it. Probably scraped the metal together a little bit.
I don't know if I will spray the contact cleaner on it now. I will see if the problem comes back.