Breast milk causing diaper rash?

Al

So I’m not sure but I think my breast milk is causing a diaper rash on my newborn. I notice it makes his butt red when he poops if I’ve eaten tomato sauce but not sure if that’s the issue. Is this possible?