It means that's how life is. It's used after something unfortunate happens
Jim knocks over Jane's ceramin doll collection and says "Well that's the way cookie crumbles"
by Joe Garifo May 27, 2004
mugGet the that's the way the cookie crumbles mug.