why did word war two become worldwide?

Germany and Japan were allies and fought in widespread areas in their spheres of the world. Both wanted worldwide domination.