Passing stool black might be due to taking Iron medicines.
If you are not taking any iron tablet then you require evaluation of your case.
There might be some bleeding from your gastro-intestinal tract giving rise to black stool
Consult your doctor and get examined.
Ok and take care.