Hagoromo created and separated the juubi into
9 chakra beasts.
What if Kaguya started all this by creating
The juubi that if she stopped it the humans
Around at that time and her sons would see
Her as almighty and powerful.
But failed so it was up to her sons to stop the
Juubi?
Just a thought...