How Black Friday Got Its Name

Why is Black Friday called Black Friday? For centuries, the name usually meant a day of calamity, first for political unrest, and later for financial markets. But why is a day of famously sensational shopping deals called something so bleak?