Why do swans rock side to side?

I’ve recently noticed a mated pair of mute swans in my local lake rocking side to side in the water. I thought at first they were just stirring up the lake bed to feed, but I’ve seen them do it in much deeper water as well. Also, I have only seen this behaviour since their cygnets hatched, though it’s possible I simply missed it before. What does it mean when the swans do this?