Nursing issues at night :(

Addie

Up until this week she would latch great and nurse 2-3 times a night but now she's so fussy at night I'm having trouble getting her to sleep and nurse. She acts hungry and roots but will not latch or stay latched. She just cries at my boob on and off all night long. When I'm desperate enough I give her formula bc she takes it well but I have no idea what's going on :( I am getting no sleep