Villager's don't seem to find/recognize beds above them. They do not breed with beds above them, or sleep in the beds (that behavior has been since 1.14, and I don't consider it a bug).
Probably caused by MC-145863.
Environment
In the picture, there are cyan beds that are the head part (bug happens with normal 2 wide beds too)
Linked issues
Attachments
Comments 2
Duplicate of MC-155262.
As per @unknown's comment on that ticket, villagers need to be able to pathfind to their beds in 1.14.3.
In the picture, you can kind of see the angry particle, along with the heart particles. Both do give the heart particles first, but then go angry, once they realize that they don't have enough beds, which they actually do.