What he is actually saying is right, but he phrased it very poorly. Im not a big Hasan-stan, but the take is correct.
Americans funded middle eastern religious terrorists to fight the soviets, and when the soviets where no longer a threat those same terrorists unsurprisingly turned against America. Sure the terrorists have changed name, but it's the same guns, same training and same cause.
He isn't saying that the poor civilians who got caught up in a tragic accident are in any way at fault. He is saying that america not expecting that funding religious terrorists is a stupid idea is so dumb and that them turning on America was inevitable. You play stupid games, you get stupid prizes. For playing a stupid game, they deserved a stupid prize. It's just extremely unfortunate that innocent americans got caught up in something that isn't their fault at all.