Old English crafian "ask, implore, demand by right," from North Germanic *krabojan (source also of Old Norse krefja "to demand," Danish kræve, Swedish kräva); perhaps related to craft (n.) in its base sense of "power." Current sense "to long for, eagerly desire" is c. 1400, probably through intermediate meaning "to ask very earnestly" (c. 1300). Related: Craved; craving.
Others are reading
<a href="https://www.etymonline.com/word/cravings">Etymology of cravings by etymonline</a>
Harper, D. (n.d.). Etymology of cravings. Online Etymology Dictionary. Retrieved $(datetime), from https://www.etymonline.com/word/cravings