Alshabaab can attack a hotel or a mosque with a bomb, but only the ones whose time has expired will die.
More hotels will be built, more businesses will be set up, more ppl will relocate to the city and life will continue as usual for the average Mogadishan. No amount of hate or bomb will stop the will of the people.
Yes it's all good to be resilient but usually shit like this has an end. One side wins and it's over, but they just keep coming back stronger. Either the goverment is corrupt and completely retarded to put up simple security measures or there's someone working for them on the inside. Or it ain't even al shabab but another player in the mix.