As I understand he cut that trip short exactly because of those riots. It also seems he wasn't solely in Africa to ski.
The uprising has been going for months. And he was at a ski resort. The trip probably did have other purposes. But the optics are quite hilarious.