When villagers go to sleep at night, they can be seen flying out of their building (in the sleeping position) on the axis they were sleeping on. They are also able to be pushed out of their bed by walking on them.
Steps to repeat
1) Place about twenty beds near each other.
2) Summon a bunch of villagers
3) Set the time to night
4) Watch as some villagers fly horizontally out of their bed.
Link to my uploaded video on Twitter: https://twitter.com/Catalyst__Chaos/status/1329166803277377538?s=20
Related issues
Comments

Thank you for your report!
We're actually already tracking this issue at MCPE-101202, so I will resolve and link this ticket 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:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki