>> ... will hold their breath and work their feet.
Imho that isn't related to swimming. That's them trying to keep their heads above water by standing up, hopefully in relatively shallow water. Even with drowning adults, they don't so much try to swim as try to grasp onto something.
Compare dogs. They have a swimming instinct dedicated to movement. Dogs don't tread. They move forwards. We flail around trying to climb out of the water. They are trying to get to shore. That has to be some sort of evolutionary relic speaking to very different ancestral environments.
Polar bears instincts accommodate both treading water and swimming within moments:
https://www.youtube.com/watch?v=scFiRRTU5jg