The shooting comes months after Prime Minister Mark Carney warned that Canada was failing its Jewish community amid a surge in antisemitism.