Who came to Afghanistan to help these locals? You had Muslims from all over the Middle East come there to help wage war. Case in point - Bin Laden. Did they come there for oil? Real estate? Wealth?
Perhaps they feared for their way of life from aggressive conquerors. What religion were the Soviets misconstruing on their march?