It's hard to say, though I would concede the possibility that the US government may be lying about the reason for the attack. They've done things like this before.
One thing seems clear is that whatever hatred exists, it seems to have gone on for generations. Part of the problem seems to have originated with the fact that prior to WW2, the US had almost zero involvement in the Middle East. Other nations held hegemony in the region, mainly Britain and France. The problem was that WW2 weakened Britain and France and left a power vacuum in the world, while the US and USSR were competing for hegemony in vulnerable regions.
But it also put US policymakers in a position where they had to make decisions about regions where they had very little experience and knew next to nothing about. The American people were largely insulated and left in the dark about these things. We were simply told that America was fighting for freedom and making the world safe for democracy, which implies that anyone who opposes us must simply be evil. There is no other explanation, and this is how American foreign policy has been sold to the American people since WW2. And it's clear that there are still plenty out there who fervently believe this.
Of course, a lot of people hate America for this, and this has been going on long before Trump ever came on the scene. Americans believe that what their government is doing is good, so those who tell us they hate us merely have the effect of convincing Americans that they're truly battling evil. It's not supposed to make any sense, but it gives us a good excuse to fight. More is the pity.
Over the course of my life, I've seen how many Americans from all over the political spectrum can get suckered into "war fever." It was especially acute during periods of crises involving the Middle East, such as the Iranian takeover of the US embassy in 1979 - and obviously after 9/11. Even politicians considered to be "liberal" have shown their warmongering side on occasion.
I've tended to be a peacenik myself, but people like me are in the minority. And if one expresses a desire for peace, the warmongers will viciously attack them and call them "commies" or "traitors" or worse. It becomes even more difficult whenever the people of the Middle East work themselves up into a frenzy of hatred against us. Then the warmongers can point at them and say "There, you see? They're evil! They want to destroy us all!"