Why Azerbaijan and Armenia went to war over Nagorno-Karabakh