The latest attack in Somalia raises new questions about the government’s ability to maintain stability.