C.R.
It could be a couple of different things. I would call the doctor and ask them. My children were breastfed but my middle son had a ton of ear infections and would act the same way, when the ear infections were really bad he would get crabby and fussy also. It could be the formula also.