Agree it's a ground problem. Besides checking the wiring, also check the bulb socket for corrosion, or a loose fit in the housing. That socket is part of the ground circuit.