Why is Hinduism divided into Shaktism, Shivism etc.?

I am very curious about these things and looking for a answer