I’m not sure if the following view is in accordance with the Catholic Church, but I am of the opinion that the laws in Leviticus were composed by Moses, not God. I believe God gave the 10 Commandments, but the rest of the laws were from Moses’ mind.
Jesus seemed to allude to this.
In the Gospel of Mark:
Some Pharisees came up to Jesus, testing Him, and began to question Him whether it was lawful for a man to divorce a wife. And He answered and said to them, “What did Moses command you?” They said, “Moses permitted a man to write a certificate of divorce and send her away.” But Jesus said to them, “Because of your hardness of heart he wrote you this commandment."
Gospel of John:
*“Did not Moses give you the Law, and yet none of you carries out the Law? Why do you seek to kill Me?” The crowd answered, “You have a demon! Who seeks to kill You?” Jesus answered them, “I did one deed, and you all marvel. “For this reason Moses has given you circumcision (not because it is from Moses, but from the fathers), and on the Sabbath you circumcise a man. “If a man receives circumcision on the Sabbath so that the Law of Moses will not be broken, are you angry with Me because I made an entire man well on the Sabbath? “Do not judge according to appearance, but judge with righteous judgment.” *
Going to the Old Testament now:
Exodus 31:18, “And He gave unto Moses, when He had made an end of communing with him upon mount Sinai, two tables of testimony, tables of stone, written with the finger of God.”
Deuteronomy 5:22, “These are the commandments the Lord proclaimed in a loud voice to your whole assembly there on the mountain from out of the fire, the cloud and the deep darkness; and He added nothing more. Then He wrote them on two stone tablets and gave them to me.”
So there is a distinction between the 10 commandments of God and the laws of Moses which followed.
Moses himself makes this distinction:
Deuteronomy 4;13-14, “So He declared to you His covenant which He commanded you to perform, that is, the Ten Commandments; and He wrote them on two tablets of stone. The Lord commanded me at that time to teach you statutes and judgments, that you might perform them in the land where you are going over to possess it.”
The whole gigantic list of laws Moses wrote in a book and placed in a pocket *beside *side of the ark, while the Law written by God on tables was placed *inside *the ark of the covenant.
Deuteronomy 31:24-26, "And it came to pass, when Moses had made an end of writing the words of this law in a book, until they were finished, that Moses commanded the Levites, which bare the ark of the covenant of the Lord, saying, “Take this book of the law, and put it in the side of the ark of the covenant of the Lord your God, that it may be there for a witness against you.”