I sat and watched them looking for food in the wetlands. The water is not deep. It looks as though he is searching the mud for yummy items. It certainly explained that black bill.
Notice how muddy the head is when it pops up out of the water. Also, it appears he is stirring up the mud with his feet before lowering his head again. The Mallards seem to enjoy whatever the swan is churning up.