It seems they just made a comparison, but the reason for those helping US against Mujahiding not being prayed over is due to their action being kufr. While the bandits are not prayed over to show how disliked such action is. Then they made a link in form of a comparison "as it happens for..". While in the first case it is kufr.. Allah knows best, I'm not a scholar by any chance..