The Israel-Arab conflict became a proxy for the US-Soviet conflict and while the Russians were aiding the Arab countries surrounding Israel the US was aiding Israel. As mentioned a lot of the US aid to Israel is a form of subsidy to the US defense industry and comes with many strings tied. A good example of the trade-offs there is that Israel was effectively forced to cancel it's Lavi fighter aircraft program and buy "expensive" F16s instead. Another good example is President's Obama decision to stop providing Israel with missiles for its Apache helicopters at some point during one of the last conflicts.
Saudi Arabia's hypothetical alignment with Israel is a fairly recent phenomena as some sort of my enemy's enemy is my friend. But for the longest time Saudi's money and political influence was invested in working against Israel (and those sums dwarf US aid to Israel).