According to Mayo Clinic, dehydration is the most common cause of constipation in babies. Another cause is feeding your infant too many solid foods. For relief, change your baby's diet and add pear juice, apple juice, or prune juice. However, consult your pediatrician for the right dosage for your baby.