I think one reason why many think its OK to discriminate against gun owners, is that they choose to be gun owners, while humans do not have a choice in their ethnicity.
Humans also have the capacity to decide whether to behave in a civil manner or not. Clearly, not all humans are up to the task.