HAIFA, Israel—When French Economy Minister Emmanuel Macron visited Technion, the Israel Institute for Technology, this past week he asked a group of students originally from France if they would ever consider returning home.

“For the holidays,” one student quipped. Another, a computer-science major, questioned whether France was doing enough to address a recent spate of anti-Semitic attacks.

...