Gaza / Undecided Movement Probably didn't Change the Outcome
But they might have - it's a close thing.
We won't know for certain until / unless we get better polling, but Gaza policy almost certainly cost Harris Michigan. But even with Michigan, getting the rest of the Electoral votes she would have needed might have been a stretch.
Electoral Collage Math
For a Harris victory, she would have needed to take Pennsylvania, Michigan, and Wisconsin - those three states have 44 electoral votes, which is enough to put her over the 270 needed to win.
The margins in those states were ~130,000, ~80,000, and ~30,000 votes, respectively.
Arab Americans
According to the Arab American Institute, the Arab American population in those states are: 180,000, 500,000, and 60,000.
Dearborn Michigan is ~50% Arab American, and shifted from 75% Biden to less than 50% Harris (3rd parties got nearly 20% in 2024 in Dearborn).
So if Dearborn is representative of Arab Americans overall, and one quarter of Arab Americans would have otherwise voted for Harris, then Gaza / the Undecided movement may have cost Harris ~45,000 votes in Pennsylvania, 125,000 votes in Michigan, and 15,000 votes in Wisconsin.
This is enough for Harris to win Michigan, and to close the gap by half in the other two states.
Jewish Americans
Jewish Americans went for Harris and Biden at about the same margin, 80%.
There are over 400,000 Jewish Americans in Pennsylvania, and only about 30,000 in Wisconsin. So even if Harris completely captured the Jewish American vote, it probably wouldn't have changed the outcome in those states, since it would only gain her 80,000 and 6,000 votes respectively.
Overall
It's possible that Harris could have threaded a needle and pulled out a victory by changing her Gaza policy.
A full throated condemnation of Israeli policies would have almost certainly won Michigan, and while Arab American don't have the numbers to swing the other two states, if excited Arab American voters managed to mobilize an additional ~90,000 Pennsylvanians and 15,000 Wisconsinites it could have turned the tide.
But the Jewish American vote is very large in Pennsylvania, so if that policy cost her any margin with the Jewish vote it would have put that critical swing state out of reach for Harris.