Guns and bombs are manufactured because they're the weapons of war of the 21st century.
A nation that lacks weapons to defend itself, is the equivalent of a lamb surrounded by a pack of wolves.
The manufacturers of these weapons also make a ton of profit from the sale of their products. So they'll keep producing more to meet the demand.