The man suspected of ramming his car into a synagogue near Detroit had relatives who died in an Israeli strike in Lebanon, officials said.