When you "rock" a baby, you're helping it to fall asleep. This action is called "rhythmic movement". Babies sleep better with rhythmic movement. When you "shake" a baby, you're trying to bring it back to consciousness. A baby's head becomes loose and floppy as it grows, so it's easy to shake. The distinction is quite important to pediatricians.