It might be, or it might not be. Weapons can be used for good or bad, just like most things.
Also, some weapons are less useful for bad purposes than others: a missile-defense or air-defense system, for instance, isn't terribly useful for bombing civilian populations, and it's kinda hard to criticize someone for wanting to shoot down incoming missiles. Dumb bombs, on the other hand, are great for bombing ground targets, which could be either Russian invaders or cities with trapped civilians.
However, if you're a SWE as many people here probably are, and you get into the business of building weapons for war, a lot of the stuff you'd work on probably isn't that useful for killing Gazans. To kill lots of Gazans, you just need things like dumb bombs, artillery shells, etc. Those things don't use software; they've been using those weapons since WWI or before. The "smart" weapons the expensive SWEs work on aren't so useful for indiscriminate killing of civilian populations: they're much more accurate, but also much more expensive, so if your goal is just to kill civilians, they're not a very good way to spend your money. It's much easier to just get lots of artillery shells and shoot them in the general direction, just like Russian troops do.
Engineers in many different industries can be blamed for enabling awful things. Facebook engineers, for instance, I think have a lot to answer for, for being instrumental in destabilizing society and increasing radicalism. Engineers in the petrochemical industry have worked to cause climate change and pollution.