I think the two male ducks were in deep competition for the female in the middle. When one of the males would get off the pipe, the other one would also get off and try to go after the first one. The first one would then get on the other side of the pipe and then swim to the other side of the female. They were just going around in circles. It was so funny to watch.