Because the Juubi was the Holy tree who went on a rampage. Imagine a tree walking and transforming itself in order to get back the chakra it was stolen . Bijuus were created by Juubi's chakra and Creation of all things from Hagoromo.
But you do have a point I have wondered that myself some time ago