The red walls can do a lot of damage to your hero units, and they're harder to activate since they rely on individual hits rather than damage. Barrels, meanwhile, take damage into account, so some hero units can break one open with a single shot. Until you have heroes who fire dozens of bullets at once, stick with the barrels.