@Zetherin,
Fair question. We live in a secular country, not a religious based country. Laws in our country are essentially based on British common law.
Ever since our country was established in Philadelphia, most of what we have strived for are delineated in the US Constitution. However, over and above the constitution, states have established their own laws that has nothing to do with morals of the community.
Are you familiar with what's been going on concerning illegal immigration? The feds have established laws concerning this topic, but you will have difficulty trying to establish a connection to "community morals" about how illegal immigration is being handled by both the feds and by Arizona. People have different ideas about who and why illegal immigrants should be able to remain in the US. Morals is a nice ideal, but there's no common thread that can be applied.