Mosiah 13:29 And now I say unto you that it was expedient that there should be a law given to the children of Israel, yea, even a very strict law; for they were a stiffnecked people, quick to do iniquity, and slow to remember the Lord their God;
30 Therefore there was a law given them, yea, a law of performances and of ordinances, a law which they were to observe strictly from day to day, to keep them in remembrance of God and their duty towards him.
*We don't know the WHAT, HOW, WHY or understand all of the commandments given to us, but I think sometimes, they are mostly about obedience and being brought to remember Him when we obey.