The good countries will refuse to issue a marriage license to you, the bad countries will send the police to watch as a mob lynches you.
If you see Israel as some kind of psuedo-western state, then yea, you should be shocked. But as a Middle Eastern country, this is just another Thursday. Personally, I don't see Israel any different than I see Turkey, Egypt, or Jordan.(Allies that get lots of money from the US with questionable behavior)
edit: I think is wrong by the way, so not justifying. This is just how things work in the Middle East - where nations do terrible things in the name of preserving their "religious" identity.
edit x2: Sources: 1. https://www.brookings.edu/blog/markaz/2016/06/20/what-egypt-... 2. https://www.theguardian.com/world/2019/may/02/persecution-dr... 3. Any of the State Dept religious freedoms reports here: https://www.state.gov/reports/2020-report-on-international-r...