Police have not said what led to the shooting or whether the synagogue or Jewish community was targeted.