i was having the same problem as you with mine with my stock foglights, one would only work once and a while so I took apart the fog light and noticed that the bulb wire that connects to the fog light housing metal was all rusted, so I sanded down the connection real good and sprayed it down with wd40, then put some dielectric grease and plugs it back in. Its worked like a champ every since. So to answer your question, its most likely the ground of the bulb itself inside your fog light lenses. Check it out.