I mean that’s literally what their religion says. If they don’t follow those parts then that’s there choice. In islams case both the Quran and various hadiths condemn homosexual acts. (And this r officially not up for debate the Quran is their highest text and Hadith are second and can only be disproven by the Quran)