What's triggering tension between Somalia and the UAE?

Somalia has been in conflict for much of the past 25 years. But the horn of Africa nation has been showing signs of recovery.

And that's provoked interest from many regional countries including the United Arab Emirates.

The Gulf nation has been conducting a military training programme and running a hospital in the capital Mogadishu.

But, the UAE's government has now abruptly ended its involvement on both those fronts after a series of recent diplomatic disagreements.

So, why are the UAE and other regional countries interested in Somalia?