Keeping it technical only, I think the issue is that Hamas are a proscribed terrorist organisation here in the UK and the IDF is the official armed forces division of a sovereign state. Regardless of your political orientation, showing support for one has real consequences in the real world.