Usually these medications don't cause black stools
Black stools is mainly due to
1. Dark coloured Food intake ( like green leafy vegetables- saag, dark chocolate- large amount, other dark foods over fried food, carmelised food, etc -- but in such case colour of stool correlates with colour of food)
2. Iron supplements - un-absorbed iron
3. Gastritis/ GI ulcers with internal bleeding mild to moderate.
There are other minor/ rare reasons as well
Next Steps
next step
keep a watch on type of food your are taking.
Observe colour of stool for next few days if it is persistently black - consult a doctor properly.
watch for pain in stomach and it's exact starting time and position it will help in ruling out gastritis/PUD and other problems.
Health Tips
avoid spicy, over fried , dark coloured food.
take fruits and salad.
keep a watch unless your problem resolved completely, don't ignore if problem is persistent.
all the best.
do take easily available probiotics