Hazelnut butter was mixed with chocolate to overcome shortages during the Napoleonic wars and WWII, which led to the invention of Gianduja (chocolate) (e.g. Nutella).
https://www.hazelnuthill.com/about/history-of-gianduja-chocolate-hazelnut-spread