Why did India fight?

Because the Indians wanted India to be ruled by Indians.