In Srimad-Bhagavatam it is clearly stated that in this instance Krsna wanted to make King Indra angry. Krsna's advent was especially meant for the annihilation of the demons and protection of the devotees: Revision history
Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.