The Decalogue ant the natural law
Obedience to the Commandments also implies obligations in matter which is, in itself, light. Thus abusive language is forbidden by the fifth commandment, but would be a grave offense only as a result of circumstances or the offender's intention. "Apart from me you can do nothing"
Source: Catechism of the Catholic Church (Vatican.va)