Any side that gained an advantage.
A major part of warfare is logistics. Deprive your enemy of basic necessities while maintaining your own supply.
Study Sun Tsu or Carl Von Clausewitz, and see how much text they devote to logistics. This is basic, rudimentary material...which people who only read action novels or watch movies full of explosions never seem to contemplate.
Thanks very much.