When you start eating because you are sad, then, given enough time in this state, you will gain weight -> bacon from grief
So it literally refers to the _fat_ (speck) someone gains by eating while feeling _grief or sorrow_ (kummer). Except that the specific word for fat they use is the word for _animal fat_ and in some instances literally means bacon. What an interesting word.
https://blogs.transparent.com/german/kummerspeck-frustfresse...