The man tossed a child into the swimming pool near the ocean .