Mine does this occasionally. There's a fuse under the dash that controls the gauges (and other things). Those fuses get corroded and with the vibration of a running Jeep, they'll stop letting electrons flow.
Pull all your fuses out and clean off the corrosion. Or just replace them.
Pull all your fuses out and clean off the corrosion. Or just replace them.