TEL AVIV—Itai Snapier, a 28-year-old graphic designer from Tel Aviv, saw his life in Berlin's LGBT community as an escape from conflict and chaos in Israel. Then, Hamas terrorists carried out a massacre in the Jewish state on Oct. 7, and the former Nazi capital erupted in anti-Semitism.