Officials say the bomber detonated his explosives when police stopped his car for a search .