So you are syncing macOS Photos system library via Finder via USB to iPhone, right? That has historically been more or less flaky no matter what. So often there are missing images, duplicate images or blank images.
Sometimes repeated syncs might make it better but not perfect. I have sometimes got better results by excluding a troublesome album, syncing, including that album again and syncing. Or by starting from almost scratch by deleting all synced photos from iPad or/and by deleting "iPod Photo Cache" and letting Photos re-create it while syncing. Starting from scratch by creating a new Photos library and syncing does not help either. Keeping Photos active in the background or quitting it before syncing or/and restarting the Mac does not help. I guess I have tried all troubleshooting variations.
Yes, my Photos library has been stored on internal MacOS Extended or APFS volume as it should (non-Mac volumes like exFAT, network shares, cloud storage, Time Machine volumes are not supported and might corrupt the library). And Photos has been given a few weeks to finish its housekeeping by adding faces etc. No, I have never used 3rd party virus apps or "cleaners" that often corrupt the system.