You should little bit of islamic history a bit. India became more fragmenteddin muslim rule. They were many muslim rulers at a any given time,you are under wrong impression that all of india was under one muslim ruler.And by the way they were more bloody wars continues wars in muslim period with different muslim rulers and an between hindu rulers.Dont forget even the relatively considered peaceful mogul rulers like shahjahan was contantely under war nearly 1 war each year!!!Further more they bloody battles or murders within royal families killing 10's of prices.Muslim ruler bruality does not syop there they just did not fight wih the enemies army but also burned fields and houses of enemy citizen and killed thee civilians too.
This practise was of attacking villages ,civilians,crops,slaving females and children was never never practised in India before the muslim envasion.You can read this testamony from not only indian rulere rules but even from outside evidence from greek hisorian,travelers and chinese travels.