Gotta be a bad connection somewhere. Maybe inside the gauge, maybe outside. I'd look at the quick connects on the back of the gauge first; if there is any looseness at all they can go intermittent.
On one of my Stags, I discovered that the adjustment inside the gauge was so loose, it would move from a bump.