Why are Flags At Half Mast?

Flags are usually flown at half mast in remembrance of the victims of a specific tragedy such as a mass shooting or any other tragic accident.