The Russia–Ukrainian war, which began in 2014 and exploded with the invasion of the Russian army on 24 February 2022, has profoundly destabilized the political, economic and financial balance of Europe and beyond. To the humanitarian emergency associated with every war has been added the deep crisis generated by the strong energy and food dependence that many European countries, and not only European, have developed over decades on Ukraine (especially for wheat) and Russia (especially for natural gas). The aim of this article is to verify the existence of a link between the performance of the Eurostoxx index and the price of wheat futures and TTF natural gas, from 25 February 2019 to 28 September 2023. Through a quantile VAR analysis, a link is sought between the Eurostoxx 50 index, and wheat and TTF gas futures prices. Furthermore, the analysis intends to understand whether the presence of such relationship only manifested itself following the war events, or whether it was already present in the market. The analysis carried out also shows that the relationship between the stock market and raw material prices was present even before the conflict.