Babies are amazing beings with varied skills and emotions. There’s no difference if it’s a human or an animal.
They can have an extremely active day, not a single minute of a rest. And fall asleep all of a sudden. It often happens in the unsuitable places.