What was one reason for nations forming alliances in Europe?

Russia was a weak nation

the growth of the free enterprise system

the killing of a Bosnian terrorist

to protect themselves in case of war