Sleep problem

Maggie • Baby #1 Due 10/21!! ♥️

I have a 5 week old, and from the time she was 2 weeks old she will sleep soundly for the first few hours and then spend the next few hours grunting and moving her arms and legs every few minutes. I have no idea what's wrong but I don't think she sleeps during the active phases, and I get no sleep since she is so loud and I constantly think she is waking up.