Allergy?

Changed my sons diaper today and it looked like this. He has cows milk protein allergy but hasn’t had any dairy recently. The only new food he had was apples yesterday, and then was constipated overnight so this morning he had some prune juice. Does the black stuff mean blood? Could he have an allergy to the apples?