Even when they specifically target civilians? What would you call a bomb exploded in times square? What if it were placed there by Iranian soldiers? Is that war, or terrorism?
If those soldiers are in full uniform bringing in an unconcealed bomb, and it's part of a broader campaign that's also going after military targets, I would not call that terrorism.