Potentially unpopular opinion: the mistake was making a comment on Israel in the first place. Apple makes computers and phones. They don’t need to comment on every world crisis.
I worked in their stores for a while. They have had a rule for at least a decade that no personal branding or clothing can stick out beyond the work shirt. Any pins or displays of solidarity for any group would have already been breaking the long established dress code.
The situation in Palestine is horrible, but Apple isn’t going to be able to do anything about it.