Also, some wealth is lost in the form of bullets, bombs, and other weapons that are used in the process. It's not the total cost of the bomb, but it is the cost of the physical material that makes the bomb.
Physical goods are destroyed. Man hours are used up. How is that wealth creation?
More controversially, war deaths reduce the supply of labor, making it more valuable for those who survive. The Black Plague had a similar effect.
But you could have researched that anyway, without breaking the window first. When you are forced to research something b/c of a broken window, or war, you set aside what would have otherwise been a higher priority.
Being forced to do something is not a good way to discover the best priority. Free choice, while imperfect, works better.
One of the most famous explanations for our need of physical destruction of goods was given in "1984"
You have it backwards. Wars create wealth. That is, in part, why we keep having them.