Hello,
The causes of blood in the stools are many.
Bloody stool means that there's some sort of injury or disorder located somewhere in your digestive tract. The closer the source of bleeding is to the anus, the brighter red the blood will be. If the bloody stool is bright red, then it could be due to hemorrhoids or anal fissures. The causes of bloody stool that is more maroon in color is intestinal polyps, inflammatory bowel disease or diverticulosis (diverticulosis causes significant bleeding).
Please consult a physician to find out the confirmatory diagnosis as treatment will depend on the same. You need physical examination as well as colonoscopy to confirm the diagnosis.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your doctor. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.
Do get your liver function tests, since pressure on the liver blood vessels(Portal hypertension) can lead to blood congestion at the rectum and lead to bleeds.