When there is a violation of the law, a quantified punishment is imposed according to the degree of the offense. For a moral, it might be infinite, invisible, and mixed feelings, such as guilt and regret.
Law is for outside order, then morality is for one’s inside order.
For a culturally shared community, or based on humans’ common emotions, there are some morals universally shared. Such a transitional value serves as a part of one’s morality.
However, as there is no consensus for everyone on where the boundary of one’s morality lies, different standards might cause different outcomes; also, how to execute the morality is another problem.