What’s triggering tension between Somalia and the UAE?

The United Arab Emirates is ending a military training programme in Somalia and closing a hospital it ran in Mogadishu.