It’s because they cannot be the authentic version of themselves because of their position in life, their colleagues, their religion, families etc., so they don’t want those who are brave enough to come out, or transition to be happy and free.
IOW “If I can’t be happy with myself why should they?”