In 1-2 sentences, analyze why an alliance system emerged in Europe in the early twentieth century.

An alliance system emerged in Europe in the early twentieth century due to the growing rivalries and tensions among major powers, where countries formed alliances to protect their national security and deter potential threats.