I don't think that the fact one is skin color and the other religion is all that essential (see below), but I appreciate the thoughtful response.
Did you completely miss the rest of the post? And the fact that one is about religion and the other about race is a very important difference; one is a choice that can be changed, the other is not.
I don't really view religion as being a simple choice in the sense you suggest here. A believer believes that his religion is true, that what it teaches is a correct view of the world, and that aside from truth, his own well-being in a very deep sense is at stake (salvation, in the terms of Christianity). It is not as if he can reason, "It seems that these beliefs do not fit in well in this society, so perhaps it is better if I change what I believe." To do so is to give up on what the believer views as fundamental truths about the nature of his existence and his relationship to his Creator, as well as to jeopardize his possibility of a rewarding afterlife.
This is nonsense. Very few people, if any, are perfectly devout. Everyone has doubts, even the most fanatical. Everyone evaluates their beliefs at some level. Some do so only superficially, and their beliefs tend to be superficial. It's true that many people double down when confronted with evidence that refutes or challenges their beliefs; but that is again a choice they make.
There's the other problem that many, one might even say most, religious people simply do not understand what they believe. They parrot a set of dogmas without really knowing the reason for them, the story behind them, how they fit together in the context of their religion, or whether they are actually a historical part of their religion.
Further, people very often pick and choose what parts of their chose religion to believe, and which to argue with. Many change bits and pieces throughout their lifetime to suit their evolving experiences and prejudices; while oftetn claiming to have always believed the same thing. This is especially true with syncretistic religions like the "New Age" beliefs.
So, yes, of course, at some point each religious person presumably makes a choice to believe or not (though I'm not sure how conscious that might be, so even that seems controversial), but I don't regard religion as something which can be easily changed.
You're both right and wrong here. If you observe religious people long enough, you'll see how their beliefs, and how they act on their beliefs, changes over time. Usually the changes are fairly subtle, but often can be dramatic. Keep in mind, as well, that there is a well-known phenomenon among the religious known sometimes referred to as "New Convert Syndrome", that is, those newly converted to the religion are commonly far more invested in it than those raised in the religion. New converts are almost always the most fanatical as well. This is not universally true, of course; but true more often than not.
If you look, the overwhelming majority of terrorists, especially those originating from First World countries and middle-class or better backgrounds, are recent converts, often from within prisons. Either converts who previously had no significant religious beliefs, or converts from a more moderate sect of their religion. They still have doubts and there is often confusion about what they truly believe, and they are dealt challenges from people around them about their newfound beliefs, so they do what is most human and double down, become more devout, intensify their adherence to the tenets of their chosen worldview, and try to shut out doubt with a "fake it 'til you make it" strategy.
Religion is very much a choice; and especially for the fanatical it is a choice they have made rather than acceding to a choice others (like their parents) others have made for them.
And I'm not too sure how the permanence and non-voluntary nature of black skin makes the offense all that different than the offense of the true believer.
Because it is something they have no control over at all. Further, in the US, use of racially-loaded terms is still very closely associated with events of racially-motivated violence and discrimination. The time of Jim Crow laws and Separate But Equal is still within living memory. When I was a teen back in the '80s, interracial relationships were still a very big deal.
for that reason alone, it is a very different thing. The use of racial slurs is very much an act of aggression the majority of the time, in the US cultural context.