At some points people need to wonder why.
https://en.wikipedia.org/wiki/Rafah_Border_Crossing
> The Rafah crossing was opened by Israel after the 1979 peace treaty and remained under Israeli control until 2005...
> Under a 2007 agreement between Egypt and Israel, Egypt controls the crossing but imports through the Rafah crossing require Israeli approval.
Egypt said 'HELL NO', first, because they don't want to deal with Palestinians (both political and economic nightmare), and second because it would have been viewed as ceding to Israelis and helping them cleanse Gaza, which would be highly unpopular among their population.
Bottom line, Egyptians are not interested in supporting millions of refugees inside their border. So the border stays closed to mass immigration.
I strongly suspect the average American has absolutely zero sense of how much foreign aid we give Egypt. That's not to contradict your point directly, just that it isn't a very salient part of American politics (unlike Israeli foreign aid).
I feel like Israeli aid, while vastly more salient than it used to be, is still mostly salient as a left-of-center wedge issue, otherwise being about as salient as your average major foreign policy issue - ranking just under the least salient domestic policy issue, which ranks just under the most minor personal quality of any candidate, which ranks under the current state of the economy, which ranks under the current perceived state of the economy. Wow, that's way too many times to use "salient" in one sentence.
And for the record, I'm not arguing about how much people should care, just how much they do.