How is this child able to move their crib while standing inside of it? I was scrolling Instagram and saw this Reel which at first was normal but when I started to think how the child was able to move then I got confused. The video shows a child standing inside of a crib and repeatedly bouncing their body against the rail of the crib, which causes the crib to move.
Here is the logic behind the confusion:
The center of mass of any system if initially at rest will move only if there is an external force acting on the system.
In this case the child is applying a force on the bed in the forward direction by hitting it continuously so friction should be acting on it in the backward direction but if that's the case then they should move in the backward direction and not forward.
Can someone give an explanation for this kind of motion of the child?
Edit :-
As per the comment I am adding the screenshots of the child and the crib initially and how it ended up after some time (though it will not tell how the child make this happen)


 A: The kid moves their crib by expertly exploiting the difference between static and kinetic friction.
Initially they pull themselves towards the bars relatively slowly, or more crucially with a relatively small acceleration.  The force on them required for this acceleration comes from the crib.  They pull the crib to the right and, by Newton's 3rd law, the crib pulls them to the left.  The key thing is that the force they apply on the crib is small enough that the force of static friction between the floor and the crib is large enough to keep the crib in place, so the crib does not move to the left during this stage.
Then the kid collides with the bars.  Their speed to the left decreases quickly, which means, for a short time, they have a large acceleration to the right.  For this to happen there has to a be a large force on them to the right.  This comes from the bars of the crib but it means that the kid simultaneously applies a large force on the crib to the left.  This force on the crib is now large enough to overcome the static between the crib and the floor and it begins to slide to the left.  When sliding, the coefficient of friction between the floor and the crib is less than when it's not sliding which helps the crib move a bit farther left before coming to rest.
Now the kid pushes the bars away to the left keeping the crib moving to the left.  After that the kid pulls themselves towards the bars again but, not with enough force to cause the crib to slide to the right.
Since there is a force of friction between the crib and the floor, the crib can not be considered an isolated system.  The whole floor/room/building/Earth is now part of the system so considering the centre of mass is not that useful.
A: There is an external force. When the child runs inside the crib, the bottom of the crib pushes against their foot; foot and crib are engaged via static friction. In turn, the crib itself is similarly engaged to the floor via friction. So there is a force acting between the floor and the foot, through the crib. This force accelerates the child's body, which can then strike the wall of the crib, transferring some of its momentum to it. In a free-body diagram of the crib and child, this would appear as an external force.
What we have to explain is how an external force acting on the crib move the individual inside it via their foot, given that the crib doesn't move (at that point), and neither does their foot? The answer is that it doesn't. The friction is preventing the backwards movement of the crib when the child begins to fall.
We need to explain walking.
How does your generate an external force when you walk? Walking begins with falling. You lean slightly forward, disrupting your balance, and begin to fall. At the same time, you lift a foot, and extend that leg; the fall accelerates. Eventually, the free foot is planted in order to prevent a complete fall; and the center of gravity vaults over that leg.
In the absence of friction, the resting foot would slide backwards and the body's center of gravity would fall straight down. Because there is friction, the resting foot stays planted, and acts as a pivot; a force is generated between the foot and ground which deflects the center of gravity to fall in the walking direction rather than straight down. In a free-body diagram of the person, this would appear as the external force which generates displaced movement,.
The rest of the walk is just a sequence of controlled falls, with a supply of energy to counteract losses.
Thus, back to the crib. If there were no friction between the crib and floor, (but the usual friction between foot and crib), what would happen when the child starts to move is that the crib would move in the opposite direction. Then when the child bumps agains the crib wall, that movement would stop. There would be net displacement of the crib, but the center of mass of the crib-child system wouldn't go anywhere.
A: You're right that this would not work in space. However the crib is attached to the floor via static friction. When the crib is bumped, the floorboards are pushed in the opposite direction, which is eventually transferred to the house/earth.
