A lot of reasons - some pretty bad, others not so much.
You need a doc to examine you (you can't tell yourself - you need an exam). Not so bad: anal fissures, hemorrhoids
, irritation. Need treatment: anorectal cancer
, ulcerative colitis
, chrohn disease. Occasionally bleeding can be from higher in the colon
, or even small bowel