Media is a lie. You literally cannot believe what you see on media, they show what people want to see. Islam hated because of media. Islam is supposed to be a peaceful religion, these extremists made a bad image fir islam.
Perhaps at first people hate Islam because of media.
Then people read Quran and Hadiths.
Now, people hate Islam because of Islam.
Maybe someday Muslims will read what the Quran and Hadiths actually say, rather than what their clerics tell them it says. Then Muslims will hate Islam too.