I don't understand the political behavior at all. Since when are "we" negotiating with terrorists?

It doesn't matter if this is a religious war or whatever. Someone gets attacked again and again. When he strikes back he suddenly gets blamed world wide by the media. Where was this media when he had the victims on his side?