Original: The struggle to control these important economic resources was a factor between Europeans and the indigenous population, and also between the Boers and the British.
Simplified: The war was between the British, who controlled the Cape, and the Boer Republics.