The villagers cant go to bed when the bed is placed besides the glass hence making the villagers stay outside the house and looking to their bed through the windows at night
Related issues
Attachments
Comments

[media][media][media][media]

It is the dirt path blocks in front of the door that are preventing the villagers from entering the house. Replacing them with another block should allow them to enter the house.