Perhaps if the US, UK, France, Russia, et all hadn't been dropping bombs, waging wars, toppling governments, installing puppet governments, and arbitrarily redrawing maps in the Middle East pretty much constantly since the fall of the Ottoman Empire things would be different. The mass migration and terrorism is blowback for awful foreign policy. Doesn't mean it's okay for the response to be violence against civilians but nobody has any right to be surprised. Fuck with a wasp's nest and you get stung.