I have the same issue with a new trex deck.
It only happens if I have boots with rubber soles . My pool is bonded along with the water . Just wish if someone with electrical experience can clarify nothing is wrong if u can discourage static into a pool.