5 weeks old wakes every night at 2 am dunno what she wants

She’s been doing this 3 nights in a row, and we cannot manage to know what does she wants. She wakes up, poos a lot, today and yesterday she spit up a medium amount of milk, She doesn’t seem hungry (ate at 11:30 usually asks for feed every 4 hr or more; BF) i offer breast, she takes a bit and then stays fussy for a long time, crying on and off.

Any guess what is going on? Before this she woke up only for feeds, evidently hungry, and went back to sleep.

Plis help. Any advice coment e is welcome