On the origin of systemic risk