I hope his tummy his feeling better!!!
I can tell you that certain types of candy or foods will definitely turn poop to strange colors. My son loves "junk food". Needless to say, over the years I have seen some strange colors in toilet!!!!
Cotton Candy (the blue) is the worst!!!!!