Apart from not wanting the other guy to be bigger than you and take you over, was there any other reason as to why each country joined their alliance? I need to create a lesson plan about this topic so I figured I'd ask history buffs about it to get more perspective.
Not to discourage further answers, but I covered how the Triple Entente and Triple Alliance formed in detail in this answer over here.