In the case of Israel, western governments (particularly US) are directly transferring arms and military support used against the civilians
This is paid for by taxpayers who receive no economic benefits whatsoever, with minimal negative economic impact from decoupling
It's also different when then ratio of civilian to military deaths is multiple orders of magnitude higher, and ~5x higher in absolute terms despite Gaza having ~5-10% the population of Ukraine
about ratio:
- i'll suggest you to take a look at wiki page of siege mariupol. iirc it's up to 75,000 civilian casualties in 3 months
- ukraine actively evacuates civilians.
- hamas said that that well being of civilians is problem of israel and unrwa and actively using civilians as human shields. here is 10 years old analysis that says that it does so in order to shape western opinion https://stratcomcoe.org/cuploads/pfiles/hamas_human_shields....
- ukrainians from day one of war were allowed to seek refuge in europe
- egypt build second wall on border with gaza over past year in order to prevent any refugees crossing and europe talking about any possibility of evacuation of civilians as of ethnic cleansing.