If you are playing with beach balls in the pool, that could be it. My yorkie barks too, but it is always focused on a ball. Let your dog have a little space and see where he goes and what he is focused on. He could also be mis-interpreting horse-play for someone being hurt and wants to protect them. If the barking bothers you when you are having rest/play time, put him up in another part of the house.