The most accurate response to what caused decolonization in Africa is:
nationalist movements and the Cold War
Nationalist movements throughout Africa led to widespread calls for independence from colonial powers, while the geopolitical tensions of the Cold War provided an additional context in which former colonial powers were pressured to decolonize, often seeking to gain influence in newly independent nations.