Josef H. Reichholf, a German evolutionary biologist, writes that the first grain cultivations were not as nutritious and productive as they are today. His thesis is that grains were first used in fermentation – not for food, but alcohol consumption, along with other drug substances like poppy, betel nut, coca and others. Then, storage of these (luxury) goods reduced mobility of hunters and gatherers, which led them to settle down (still eating mostly a hunter and gatherer diet).
His book "Warum die Menschen sesshaft wurden" is summarized in https://oe1.orf.at/artikel/213690/Warum-die-Menschen-sesshaf...
For a scientific journal reference, see "The role of cult and feasting in the emergence of Neolithic communities. New evidence from Göbekli Tepe, south-eastern Turkey", Antiquity (2012), https://doi.org/10.1017/S0003598X00047840