There is an old story which goes like this - you have to keep the 'Jinn' busy or it will eat you. The moderates turned to fanatics - how, when and why did it happen ? Who used what military during cold war and is still has some use for it ? Who was responsible for legitimating the military by relating it directly to the religion (medieval tribal fanatism to motivate the army) so that at domestic level no questions are asked ? Therein lies the answer to all the how/when/why.