The Taliban didn't waste any time after the Boston Marathon bombs exploded before they publicly declared that they had nothing to do with the attack, which killed three people and wounded more than 160. On Tuesday, a spokesman for the Taliban in Pakistan, Ehsanullah Ehsan, said nobody in the Islamist insurgent group was involved. "We believe in attacking U.S. and its allies," he said, but "we have no connection to this bombing."

Other Taliban leaders disavowed the Boston attack far more forcefully, saying that any gloating by Islamists about the carnage would turn the bombings into a nightmare for the Taliban, even if the culprit or culprits turned out to be homegrown American terrorists. "You won't find any link with Afghanistan to the Boston attack," a former senior Taliban cabinet minister tells The Daily Beast. "The Taliban neither has the inclination nor the capacity for such an attack on the West."

It seems counterintuitive. But it actually makes sense that the Taliban are desperate to avoid being associated with the strike, say Sami Yousafzai and Ron Moreau at The Daily Beast. "Senior Taliban officials say such attacks on the West are counterproductive," the writers say, "and they fear that such actions can only hurt the Taliban's efforts at shedding its image in the West that it is a terrorist organization that shelters al Qaeda and condones al Qaeda-inspired attacks."

Afghan Taliban leaders have close ties with al Qaeda members hiding in Pakistan. They've been worried, Yousafzai and Moreau say, "about an al Qaeda-inspired attack on the West, presumably like the one in Boston, for weeks." Afghan Taliban insiders say they fear that another 9/11-like attempt could destroy any chance the group has of regaining influence, and tarnish the Taliban's image worse than ever. "We lost Afghanistan in 2001 because of 9/11 at a time when we almost controlled 100 percent of Afghanistan," a Taliban intelligence officer says. "We don't want these incidents to upset our plans again."

The Taliban leaders might be wasting their breath, though. Regardless of the identity of the people behind the Boston Marathon bombs, al Qaeda remains determined to strike again on American soil, and any attempt they make could have precisely the effect the Taliban are hoping to avoid. It's not hard to figure out why. "Pakistan's lawless tribal areas remain a haven for militant groups, including the Afghan Taliban and the Haqqani network, which launch attacks on international forces in Afghanistan," says Rob Crilly in Britain's Telegraph. And the Taliban in Pakistan "claimed it was behind the botched 2010 attack on Times Square and has close ties with al Qaeda." With that kind of background, the effort to avoid being tarred by terrorist acts — even those committed by others — could prove futile.