It sounds like the two nodes may be out of sync, i.e. that B has not yet seen the transaction which generated the asset. Or perhaps there is a temporary fork in the chain.
That would make sense if this asset was very recently created, and the problem should sort itself out after a block or two.
But if this is not the case, it looks like a more straightforwards bug that we need to fix. Please let me know!