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.