A year-long rift between the neighboring countries threatened further instability in the Horn of Africa.