As countries become economically unviable, for whatever reason it may be (climate change, politics), you see an inevitable propensity for the population to drift into conflict as competition emerges for scarce resources such as food, water and energy, and we revert to anthropological safety behaviours such as grouping (leading to gangs, terrorist groups, extremists).