The stated intent in that instance was political commentary, not to gratuitously insult Muslims. Intent is a big factor in this whole controversy.
Intent has a lot to do with this.
The cartoons were published with the stated intent of incitement and insult.