Pixel 6a not showing all photos when connecting with USB to computer

Android mobile phone Pixel 6a not showing all photos anymore when connecting it via USB to computer — while it did before