Who’s to blame? Two militant groups have taken credit. Pakistan’s army blames a third group. And some point fingers at the army itself, accusing security forces of fostering the very extremist groups now attacking the country.