Not all messages appear in iMessage after setting up new iPhone and restoring from iCloud backup
I just setup a new iPhone 16 Pro Max for my wife and restored all her apps and content from her most recent backup. After 12 hours, most things are downloaded, but only a few of her messages were showing up in iMessage. I checked her old phone and confirmed in Settings/AppleID/iCloud/Apps Using iCloud/ that “Messages in iCloud” was turned on, and also in her new phone. However, when I tapped on that setting (Messages in iCloud), it showed that the Messages were not synced. Tapping “Sync Now” solved the problem.
Posting this because a search for a solution about this problem showed lots of old discussions with no solution, and since Apple closes discussions that are too old, I couldn’t post this. Hope this helps someone.