There is a certain segment of the population that likes to believe that their neighbors are homophobic, racist, anti-whatever. Whether this belief is based in truth or not, it seems to make them feel better about themselves. They are surrounded by haters but are, of course, not like their neighbors.
When I hear people saying something that assumes prejudice in others, I always think that they are projecting their own feelings on others.