Why my two months old baby recently cried until she spit milk before she sleep every night?

Habits. Make sure there's adequate time between last feed and bed time. Make sure theres an adequate burp prior to bedtime as well. Between 8-12 weeks, babies spend a lot of time crying, which is normal.