No constipation is not the cause of allergic response to buffalo's milk.
Avoid giving buffalo's milk instead introduce cow's milk.
Next Steps
Restrict to giving milk only twice a day.
Health Tips
Give proper meals to child having fibres.
Give salads to child also
Give plent of water.
Give one seving of fruit to child on daily basis.
Also give atleast 2 soaked dry figs to your child