Allergies or not

Tiana

Hey moms I noticed when I changed my son to whole milk at the age of 1 he developed a cough . It kept getting worse. I recently change my son to soy milk and the cough went away. Does that mean he was allergic to the whole milk?