Anorectal abscesses may also be caused by:  A blocked or inflamed anal gland Infection Sexually transmitted infections, or STIs