In a more recent free and fair election, the Palestinians voted in Hamas over the incumbent Fatah. But Hamas refused to recognize Israel and stated that it wouldn't honour past agreements between Israel and the Palestinian government. Israel, the U.S. and the EU subsequently cut off aid to Gaza, and the U.S. and Israel attempted to undermine Hamas. This time, the U.S. (supported, to our shame, by Canada) chose to support Israel's perceived interest even if it meant sabotaging Palestinian democracy.
And now we have Egypt and the brutal crushing of democracy by the army. The United States has cancelled joint military exercises and delayed the delivery of fighter jets, but may still provide most of its annual $1.3-billion in military aid for 2014. Having been amenable to U.S. policy objectives in the region, The Egyptian military, the source of dictators for generations, has long been a major beneficiary of American arms largesse. As have various tyrannical regimes such as Saudi Arabia.
Despite whack-a-moling democracy when it pops up in the Middle East, the United States persists in claiming it supports freedom and democracy in the region. Perhaps it does, but obviously not if it doesn't benefit American interests. As for American principles, well, apparently they too are servants of realpolitik.