On home well water systems ants are attracted to the electrical field inside the pressure switches which are old fashioned contact points. Bunches of them will cook on the points until it breaks the connection. I put an outdoor ant spray on the switch cover every few weeks.
Better attracting bugs than lightning.