The motive behind possessing the alleged explosive materials was unclear, but an investigation was ongoing, officials said.