Medications may cause green poop as a side effect

Why you have green poop
Food dyes may be responsible for green poop