The assassination of Daud Khan and the murder of his entire family was commuted by militant Communists because Daud Khan was not secular enough for them. As such, their communist revolution and their attempt to impose a foreign and unwanted ideology upon the Afghan people resulted in the Afghan backlash which ended in the defeat of the Soviet Union.
The parallels in regard to today are striking with the same end result
In the aftermath, the infighting between the different Afghan factions created an atmosphere of crime. This disorder and chaos brought about the rise of the Taliban as a response to it.
This is the historical record in black and white.
It can not be refuted on any basis.
Hence, the start point for the wars is the militant secularist/communist activity which was disguised as nationalism.
Oddly enough, these false nationalists violated every aspect of nationalism.