That is called an intermittent problem. Most often caued by say wiring that moves a little etc.