Why does bleeding stop by rubbing moist alum?

Blood is a colloidal sol. When werub the injured part with moist alum then coagulation of blood takes place. Hence, main reason is coagulation, which stops the bleeding.