The issue is not focusing on demographics, it’s excluding demographics. The law states you cannot exclude certain demographics. Facebook is allowing that.
Nothing is preventing an atheist from reading a Christian magazine, or some non-expected audience member from reading an ad targeted at a general audience. The problem is when you control the viewers on an individual level, as Facebook does.