Growing nationalism and militarism in Europe and the creation of secret alliances were