During war of course many commodities skyrocket such as gold, foodstuffs, war equipment and others, of course during war the production, distribution and agricultural processes are disrupted, causing prices to skyrocket, of course this is different from bitcoin and cryptocurrencies, most people will do safe things, for example saving or divert to low-risk types of investments.
These goods only increase in areas where there is war, whereas in many areas that are still quite safe there will be no sudden increase in the price of goods by a significant amount. So you cannot generalize the prices of all goods in all regions of the world, unless all countries are hit by a major war and there are not enough goods to use because the production that can be carried out by companies and factories is limited.
Meanwhile, most cryptocurrencies skyrocket due to good moments and news about them so they will not be affected by wars occurring in certain regions, unless all countries are at war so investors have difficulty accessing the cryptocurrency market.
The war between Israel and Hamas doesn't have much impact on bitcoin or the cryptocurrency market, but what about the war between Russia and Ukraine? I remember that when the war between two countries broke out, most financial markets were dumped and bitcoin was no exception. So, I will disagree with you saying that the cryptocurrency market will not be affected by a war in a region or between several countries.
Another thing we should not deny is that when these two wars happened, the price of gold both increased, this shows the importance of gold to the world but this has never happened with bitcoin.