The villager to the right refuses to take the job, even though I’ve supplied the villager with a workstation and bed. I’ve also repeatedly broken both and placed them again, but to no avail.

The villager also seems to show signs of frustration, because these grey and orange particles appear from time to time above its head. Why is that?
Why won’t an unemployed villager take a job?