Afghanistan’s Taliban government said Pakistani airstrikes killed four civilians, while Pakistan said it had targeted militant sites.