Not sure if it is intendent but I often notice that soldiers with melee weapons deal splash damage to units and buildings in the immediate vicinity. In the screenshot, my light infantry is attacking bandits, but the camp is taking damage.