This vote shows that a lot of American politicians, both Democratic and Republican, deal with Middle Eastern politics in an extremely unwise, destructive manner.
Agreed, and I think this can be said about US foreign policy in general. The original Jerusalem Embassy Act was passed in 1995, although Clinton, Bush, and Obama all deferred actually moving the embassy. Trump was the one who actually moved it, although if the Senate reversed that, they'd also be reversing themselves.
Part of the issue of the Middle East is that a great many Americans still view the region in a religious/historical context. There's also the legacy of the Cold War mentality which still lingers on in the mindsets of many Americans at all levels. There's also a certain reliance on tried-and-true methods such as gunboat diplomacy - although we're finding that it's not as simple as it used to be back in the old days.
Originally, US foreign policy was driven towards "no foreign entanglements." If two or more other nations had some kind of dispute, our policy was to stay out of it. We remained generally detached and uninvolved in the European wars of the 19th century - although we were pretty active in our own hemisphere and ended the century pushing out into the Pacific and setting up an outpost in East Asia. But the Middle East and Africa were already spoken for, so we couldn't really do much in those regions until after WW2. But it was because of that war that the overall geopolitical balance of power shifted, which US foreign policy was restructured to contend with.
But it's interesting to look back and see where we made our mistakes and how we've failed to learn from them.