Why did European nations increasingly form alliances in the early 1900s?

to promote travel
to provide a balance of power
to ensure open borders
to make it easy to found colonies