Prosecutors presented antisemitic texts from his cellphone alongside evidence of membership in a Hamas-linked chat group as motive for targeting Jewish demonstrators.