Razib Kahn compares:
The typical hostility toward atheism emerges out of ignorance, and preconceptions. Most Americans are at least moderately religious, and take it is a given that morality comes from God. It does not take a logician to infer from this model that those without God are particularly amoral and lacking in character, and because most Americans do not know anyone who is an atheist, or more accurately, they do not know that some of the people they know may be atheists, all they have to go on is a superficial model.
When I was younger and socialized mostly with conservative white Protestants and Mormons (because of the demographics of where I resided) my atheism had an initial shock effect, in part because I was notably “straight edge,” and did not exhibit the amorality which was expected. But this issue quickly faded into the background, as the lack of religion had little pragmatic consequence.
In contrast, the few open homosexuals at my high school were subject to a far greater level of harassment.