This is not the legal housing discrimination that we usually speak about, but in some cases a neighborhood’s hatred for a particular group can rise to the illegal level. In the 1950s, certain cities allowed gangs of same-race citizens to burn out people of color. We still will have the rare cross burning or racial or religious graffiti done to a home to get the new owners out, but now we have laws against hate crimes. If you are a victim of a hate crime or any crime, report it. Do not let those who hate win.
However, most times discussions about neighbors are about those who snub a person because he or she is different. Differences can be as minor as the blue-collar worker who moves into the very expensive area or the childfree-by-choice couple who move to a block where every resident has three or more kids. Since we are all different in our own ways, each of us has the potential to be, and probably has been at one time, the unwanted neighbor.
There is no sure fix for resolving being the one left out, ignored, talked down to, or shunned in the neighborhood. Some people can ignore the putdowns; others cannot and it ruins their enjoyment of their own home. Life is too short and work is too stressful to be feuding with those who live around your home. If you are uncomfortable with the neighbors, make a plan to find another home. Sometimes moving just one block over will resolve the problem.