An expression of acceptance of misfortune and unforeseen bad circumstances or luck.
That is the way things happen