Why did Ethiopia fight against Eritrea?

Because Eritrea was trapped in Ethiopia.it was called the civil war.Eritrea won the war.it was 1995-2000.