Melanotic stools can be caused by medication, including Pepto-Bismol. Blueberries can sometimes cause melanotic stools. Treatment for melanotic stools depends on the cause. Melanotic stools can be indicative of a disorder or injury of the digestive system.