I'm pretty sure their hatred of the west is not fundamentally anchored in reality or rationally based, regardless of why they hate us.
The Koran is pretty clear that non-Muslims are to be seen as sub-human and not meriting any respect. You convert or they kill or enslave you, it is right there in the Koran.
The main cause of their hate is probably that the west is culturally dominant and economically successful compared to any of their cultures. Militarily we are 100 years ahead of them. Our Art, Music, roads, public works, education, technology is way in advance of theirs.
So on the one hand they rigidly believe that Allah has shown them special favours and given then an instruction manual on how to live, but on the other, their societies are poor and violent and unfree and their religion is fragmented. They leave their shitty house and lock their door with a a Key and lock designed in Germany and made in China. Walk to their car, made in France, along roads the best of which are built by imported foreign engineers, to sell Chinese made goods, in a souk. They travel to Mecca in Jet-planes designed and built by infidels which when they go wrong are repaired by infidels. And when they get ill, they use western designed medicines and medical procedures to heal themselves.
Even the terrorists wear western made clothes, shoot Russian rifles and cut people's heads of with steel blades made in England, Japan, the US or China ( if you're unlucky). I doubt there is a steelworks in the whole of Araby.
What has their religion delivered them? Nothing. It has been an abject failure.
There are only two reactions to that. And one is blind rage and hatred caused by envy.