Thanks for writing to health care magic.
Passing a large hard stool can some times result in rupture of the mucosa resulting in a fissure and then problems like bleeding.
The other cause could be a polyp. A rectal polyp
could be responsible for the bleed.
So a complete physical examination including a perianal examination and if required rectoscopy or colonoscopy
can confirm the diagnosis.
Hope this helps.