Check for bleeding
If your stools are black, tarry (sticky) and have a bad odor - this could be gastrointestinal bleeding
and should be checked out promptly.
As stated in a previous answer, some medications can cause black stools. It is simple to test the stool to determine if it contains blood.