Could be a ground not clean enough or tight enough, worn insulation making contact with the wire and metal somewhere, could also be a broken wire making contact on and off somewhere. We had that issue with our cable coming into the house. I know it's not a car, but same concept. It was a broken wire and when it was windy or a squirrel ran across, it would move it enough to lose connection.