Sounds strange indeed. Next time it happens, try to grab a screenshot or screen recording of the entire Obsidian window (all tabs open, the sidebars, etc.).
Also, I would try all the steps in the troubleshooting guide to see if a community plugin or theme is causing the issue.