Villagers will pick up jobs from blocks placed over 100 blocks away, then walk towards said block. This is not normal and has never happened (at least I've never seen this before). Also, sometimes when placing a block in front of a villager, there is a chance another villager from an extended distance will pick up the job for the corresponding block.
Related issues
duplicates
Comments

This issue is being tracked at MCPE-63311.