A serious question here: what history are you drawing this inference from?
Popular history tends to be a distorted view of history that willfully ignores evidence to the contrary to tell a good story, and military history especially tends to fall victim here. As a good case in point, take WWI. In popular history, WWI is a war of unimaginable destruction because generals were idiots fighting Napoleonic-era tactics with modern weaponry. But that's not really sustained by the evidence. The generals and officer class were aware of how much more effective modern guns and gunnery was compared to the Napoleonic wars, and their battle plans accounted for this. Trenches came out of known tactics--on the defensive, digging in is the most effective way to avoid the lethality of opposing weapons, and an underground trench is more effective than an above-ground static fortification.