Always worth looking at whether individuals or groups are fighting to stop their government (or someone else) from doing something to them or to impose something they prefer - usually themselves in power - on the government.

I've never bought the idea that people fight government, as insurgents or as terrorists, because the government has failed to deliver services or economic progress, especially in places where expectations of government are very low to start with. People fight because they are scared and/or angry, because government is messing with them, or because they want to take over and advance their own goals and ambitions. Those in the latter category often exploit those in the former category, and the wise counterinsurgent will aim to disaggregate the two by addressing the cause of the fear and anger that drive the footsoldier. That won't convert those who merely want to impose themselves and their ideology, but it will isolate them.