Could be file size, network speed, iCloud issue. I know Apple likes you be connected to WiFi and charging before some syncs. I’m not entirely if they have that for photos or not.
Photos generally update when the iPhone is locked, on WiFi and connected to the charger. This is by design, so to safe battery and data.
When there is only one or two photos taken, it will update over cellular and off charger but there is no guarantee.
Related question. - when on a wireless QI charger, and 'charged' ie light on charger has extinguished, battery icon still green ( 100%) and lightning bolt icon showing, will activity such as synch or iCloud backup still occur as when phone is charged ( same indications) but on a cable. Thinking about 'wee hours' when on charge stand / plate overnight... (?)