What is it that causes your anus to have a burning sensation after you have diarrhea?

Liquid base. When you have diarheea, mostly liquid, anything you ate disolves really well in water. That solution penetrates the tissues pretty fast.The anal canal has sensitive inervation, and at this level you feel the discomfort sensation.