Some of these are based on religious principles ("sodomy" for instance); some are not. The most basic laws are simply what is needed to run a civilized society and were in the earliest attested law codes. And then there is the question of ethics, which can and does stand apart from religious principles. Our basic standards for ethical behavior and for the concepts of our government stem from classical (read: pre-Christian) philosophers. For instance, Plato's "Crito" is one of the most concise, and moving, explanations of the concept of the rule of law that you will ever find.
You dont like these laws?
Some I don't like. I do not care for government intrusion into the private lives of consenting adults based on the religious beliefs of a subset of Americans. It bothers me not at all that two guys down the street might be having buttsex, as long as I don't have to watch them do it.
Do you like "natural law" by chance?
1. Much of Greek thought was based on precepts found in the Vedas as there was travel between India (greater India, then) and Greece. So the Greeks borrowed a great deal which was already extant in the Vedas and brahminical teachings.
2. Sodomy laws kept sodomy private. Now it’s on Main Street.