Wire connections most likely. Start the car and have someone else wiggle the wires to see if the light acts up. If not, replace the cap.