Because NC has had the good sense not to try and discriminate based on religions.
I am certainly not confused.
http://fl1.findlaw.com/news.findlaw.com/hdocs/docs/religion/glsrthmre111802opn.pdf
"If all Chief Justice Moore had done were to emphasize the Ten Commandments' historical and educational importance... or their importance as a model code for good citizenship... this court would have a much different case before it. But the Chief Justice did not limit himself to this; he went far, far beyond. He installed a two-and-a-half ton monument in the most prominent place in a government building, managed with dollars from all state taxpayers, with the specific purpose and effect of establishing a permanent recognition of the 'sovereignty of God,' the Judeo-Christian God, over all citizens in this country, regardless of each taxpaying citizen's individual personal beliefs or lack thereof. To this, the Establishment Clause says no."
So the federal judge did, in fact, rule against Roy Moore based on the 1st Amendment.