Cancer pharmacology

A patient receiving a PD-1 inhibitor develops frequent watery diarrhea with abdominal cramping. Why might corticosteroids be used after infectious causes are evaluated?