Risk management

Why do financial institutions hold capital against unexpected credit losses?