Iron tablets can darken the stool colour significantly, turning it black or dark green.
This change is common and reflects unabsorbed iron passing through the intestines.

*. Not medical advice.