I need help?

At night when my baby is asleep and finally I fall asleep I can hear my baby crying. I jump up and check she's fast asleep. I also noticed yesterday that I was rocking my pillow when I was asleep. I woke up to myself doing this and didn't know what to think.