Why is it that people say they 'slept like a baby' when babies wake up like every two hours?
Because when babies are actually asleep, they're calm and quiet and cute. So much fun to look at.
Not all babies sleep the same way. Don't take it too seriously, it's just an expression meaning.