Loss aversion and the sunk cost trap quietly erode returns and, paradoxically, help explain why momentum investing works.