Kenya & Ethiopia are just emulating their masters, the British, in how they offloaded opium in China during the 19th century.
By 1817, the British realized they could reduce the trade deficit as well as turn the Indian colony profitable by counter-trading in narcotic Indian opium.[16] The Qing administration initially tolerated opium importation because it created an indirect tax on Chinese subjects.
https://en.m.wikipedia.org/wiki/First_Opium_War
Just like how Somalia/Somaliland benefits from the tax revenue gained in the short-term from their citizens but the long-term implications will be/are harrowing.