A complex module in our brain that formulates moral judgements on certain behaviors is by probability more likely to be an outcome of generations of natural selection. Such a module arising by accident is roughly equivalent to the probability of a tornado self assembling a 747 airliner from random junk by accident.
I'm saying morals are a macro feature arising from a series of accidental mutations as opposed to a macro feature arising as a side effect similar to your snoring example.
The complexity of the moral module is too complex to be a single accidental mutation... it must be naturally selected out of a multitude of mutations building on each other to produce such a feature. This is very unlike snoring which is caused by mechanisms that are far more simplistic.
So now we need to define exactly what we mean by "is the result of". Is it accidentally the result of an evolutionary process (and we are explaining it with post-hoc rationalizations)? Or is it the result of a process that evolution actually drove toward that outcome, because it was beneficial? (Or is snoring actually beneficial for the survival and reproduction of the species?)