On a broader level, industrialization had caused much of the competition and push to colonize places in Africa, particularly Kenya, where the British had been administering land for years prior to 1895.
Once the Industrial Revolution changed the economies and daily lives of Europeans, particularly the British, there was a need for more raw materials to continue factory work, both coal and rubber for the factories themselves, and the natural resources that would later be turned into manufactured goods for sale across the empire. With the Atlantic Revolutions, Europeans had lost a lot of access to natural resources that they could previously rely on through their early modern mercantile economies. With a still rising demand for industrial goods, Europeans turned to Africa in the early nineteenth century. Europeans also competed for this land; at the Berlin Conference of 1884–1885, seven European nations carved Africa up into pieces based on their military and economic interests.
Some areas of Africa were taken and turned into imperial colonies, exploited for their land, laborers, and natural resources. Other areas, like Kenya, were settlement colonies. The British found that Kenyan land was fertile and could be used to grow a British settlement in Africa. Furthermore, access to luxury goods like ivory encouraged the British to grow their economy. Kenya was also centrally located (relatively) to Britain's other African colonies and economic interests. The British were also building a railroad through Kenya, and colonizing it meant they could have more control over it, while edging out competitors like the Germans to the South in Tanzania.
Once Kenya became a colony in 1895, the British started to settle it in the early twentieth century.