In the Photos app, at the top-right corner, click the three-dots menu. After that, you can select the Settings option and scroll down to find the Microsoft OneDrive section. Here, toggle off the Show My Cloud-Only Content From OneDrive option, which can prevent the Photos from showing OneDrive images again.