What reason could they have for blocking DDG? Is it easier to find pirated content there than on Google or something? That's my best guess. I can't imagine they'd block on behalf of a competitor or something.
Whether that's a mistake or they've made an enemy of some sort is not clear. India is a democratic country but not an especially free one.
Reddit and Github have previously been temporarily banned in India due to similar "mistakes"