It is puzzling sometimes to think about laws as there are several different kinds. There are legal laws, scientific laws and religious laws. Each of us expresses our own philosophy depending on how we respond to laws.
When we think of legal laws initially we think of common laws that we may be required to abide by such as “No speeding”. Legal laws come from our government. Does the government make the law or is the law already a reality and the government is only verbalizing the law? No speeding could be called a common sense law. The law of not speeding is common sense because if you speed you may injure or kill some innocent person or you may kill yourself. Speeding is a relative concept and the laws related to speeding are man-made laws. All the legal laws are man-made laws as they were not here before man was here. These laws forces one to make a decision to either abide by the law or break the law. If you break the law then you may have to suffer the consequences such as a fine or larger consequences such as death in an accident.
Next there are scientific laws which can also be thought of as rules. Scientific laws are discovered by scientists based on their observations and experiments. In this case the law is already in existence and the scientist is discovering it. These laws are different from man-made laws as these scientific laws have been here before man. It is interesting to note that they have been here since the beginning of the Universe. The interesting thing about these scientific laws is that they are expressed in measurements that man has created but the key is the relationships. These laws are different from the stand point that you can not break these laws. One does have the choice of either accepting them or rejecting them. If one rejects the laws of science, then one has to have a better explanation. Where did these laws come from? From a philosophical viewpoint if they were always here since the beginning, then they had to be created by the same force that provided the energy for the big bang.
Lastly there are religious laws. These laws are believed to have been passed down from God through either His son or through enlightened persons who were chosen by God to interpret the word of God. These laws such as the ten commandments are basically for man. Again these laws can be accepted or rejected by man. They are primarily rules by which a person is encouraged to live their life. They only have meaning since the evolution of man.
The question is left unanswered, where did the scientific laws come from? I suggest that the creator of the universe created the natural laws which we call scientific laws. This is the underlying philosophy that allows one to embrace God and science. This is the underlying philosophy that allows one to embrace evolution.
The comment above regarding how we respond to laws is based on our philosophy of the laws and our accepting or rejecting them expresses our interpretation of the laws and how they affect us. We have to understand that accepting or rejecting laws is a conscious decision which has consequences. Our individual philosophy on life will help us make those decisions. We as individuals play a very important role in the power of the laws. This concept is the underlying basis of our societal ethics.