Okapis are endangered due to several reasons, including habitat loss, hunting, and civil unrest. The primary reason for their decline is habitat loss, as their forest habitat in the Democratic Republic of Congo is being destroyed due to logging, mining, and human settlement. Additionally, okapis are hunted for their meat and hides, and their habitat is increasingly fragmented, making it difficult for them to find food and mates. Civil unrest and conflict in the region also pose a threat to the okapi population, as poaching and illegal logging can occur more easily during times of instability. As a result of these factors, the okapi population has declined significantly, and the species is now considered endangered. Conservation efforts are underway to protect the remaining okapi populations and their habitat.