Baby is eating weird at 3 months

My daughter is 3 1/2 months old and when she cries for a bottle she will only eat maybe 2 oz and then stop for a while and they want to feed again but she keeps moving her head away from the nipple and then coming back to it?? This just started a week ago,