Find the source. It's not the swimming pool itself. It could be something to do with the pool heating or circulating equipment. It could be the local utility. It could be a bonding problem, or lack thereof.
if the pool is an older inground, you could have bonding problems, I would have the pools grounding & bonding tested, if that is ok, call your local utility they could be having a problem, or your neighbors house could have a problem, good luck