It could be either the whey or the casein protein found in formulas that are causing your baby to have a reaction. The best way to start to identify which one it is, is to test out different formulas that are more heavily whey or casein and closely observe how your baby tolerates each one. Chat with your pediatrician to get some advice on how to do this and what to look out for.