The primary concern with nitrates in pediatrics is their potential to cause methemoglobinemia, a condition where hemoglobin in red blood cells is converted to methemoglobin, which cannot effectively carry oxygen. This can lead to oxygen deprivation in tissues, which is particularly dangerous for infants and young children.