Endogenous Disasters