You have to put all of this into context in order to really sort out where it comes from. As with most things messed up in the world, the current situation in the middle east is predominately the fault of European (including Russian & Ottoman) colonialists compounded by US actions that have either not helped or actively made things worse.
The Ottoman Empire ruled most of the Muslim world at points in the 1700's but ebbed until finally falling apart after WWI. The French decided to start picking parts off under Napoleon (notably Egypt - his troops used the Sphinx's nose for target practice, which is why it doesn't have a nose. It's also why the Parthenon isn't standing anymore. Idiots.). Other European powers got into the game in North Africa in the 1800's. After WWI, the Arabian Peninsula and areas north up to modern Turkey which had been under Ottoman rule (allied with Germany et al.) were basically partitioned between Britain and France.
The areas that are the biggest problems today - Syria, Iraq, and Israel/Palestine, have basically been unstable since their modern inception. Some people would argue that they are designed to be unstable so as to require constant outside intervention and to ensure a continued flow of oil. For instance, the British ruled Iraq through a Sunni puppet government until they were forced out by a military coup (also Sunni). The problem is Iraq is a majority Shi'a country, so a Sunni puppet government was implemented purposely because a Sunni government would never be strong enough to stand on its own with out either outside intervention (the UK) or a police state (Saddam). Plus there are the Kurds, who don't like either group. Some people think that the company now known as British Petroleum (BP) had a large amount of influence over the organization of British-run Iraq.
Israel/Palestine has been fought over for millenia, as everyone on the board knows. After WWI, Britain ruled Israel and encouraged the migration of Jews to Israel. Between 1922-1945, the Jewish population in Israel/Palestine grew from 11% to 33%. As the Jewish population grew, both Arabs and Jews became restless with the situation. There was violence from both sides against the British administration. There was a UN proposal on how to settle the situation, but it was rejected by the Palestinian Arabs who went to war over it and lost. And so we have our current situation, where the state of Israel is surrounded by Arab enemies on all sides (note: I'm really not interested in debating whether Israel should exist or not - this is just a summary of how it happened).
Modern Syria was basically just a mess from the start, because it came into existence basically in the middle of WWII and just didn't get off to a good start.
So for our part, the US just typically hasn't helped things. For one, our biggest preoccupation during most of the second half of the 20th century was containing communism. So the Soviet Union was doing its best to prop up nationalist movements around the Arab world. The US response to that was basically to prop up their opponents, which were the established regimes (who typically weren't all that popular with their people). So we ended up in a bunch of proxy political fights with the Soviets that left us fairly unpopular with much of the Muslim world. Compounding that, we recognized Israel almost immediately (again, really not interested in debating whether that was right or wrong but the fact is it happened) which was very unpopular. Finally, the CIA overthrew a democratically elected government in Iran in 1953 and installed the Shah as monarch. Anger at the Shah and the US led to the rise of the clerics, the revolution, etc. Oh and just for fun, the Soviet Union invaded Afghanistan and destroyed country that functioned just fine; we armed the resistance but lost interest after the Soviets left and left a vacuum that the Taliban stepped into.
TL;DR - we've been running around since 1945 trying to clean up other peoples' messes and haven't been very successful at it.