(This etymology is missing or incomplete. Please add to it, or discuss it at the Etymology scriptorium.)
that's the way the cookie crumbles