Villagers are unable to pathfind over beds to get to their bed even if there is an unobstructed route to the bed. The villager will stand next to a bed in their path as if they've hit a wall. Prior to 1.16 the villagers would walk over beds to get to their own.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MCPE-47075, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki