Many of borders of current countries in Africa are simple straight lines, that doesn’t represent natural demarcations which separate by geographical features and ethnic and tribal ones.
They were the work by European colonial powers. Then, different ethnic groups and tribes got mixed and separated. Finally, many problems arose even after becoming independent.