German investigators puzzled Thursday over how the suspect in a botched attack on a synagogue on Judaism's holiest day managed to amass at least 4 kilograms (nearly 9 pounds) of explosives and acquire four firearms, an arsenal they said he planned to use in a massacre.