The war started mainly because four aspects: militarism, alliances, imperialism and nationalism. This is because big armies become potential threats to other countries, other countries started forcing alliances in order to secure the lands.
Good luck and I hope this helps!!