The ex-wife of the gunman who drove a pickup truck into a Detroit-area synagogue told police that he was distraught and suicidal.