Why do religious people feel that if they are not allowed to discriminate against gay people then it is persecution of their religious beliefs?

the slave owners felt the same as they did against black people.

Why do religious people feel that if they are not allowed to discriminate against gay people then it is persecution of their religious beliefs?
Post Opinion