The mayor's remarks came following a rabbi's funeral that violated social distancing measures.