How to force sync between devices?

I’m working on my Mac (macOS 12.5). An earlier version of the first file that I created synced to iCloud Drive, and from there to my iPhone and iPad. I’ve since created more files and deleted the original one, but the changes are only on my Mac. In Finder the new files are marked with the dotted border; they are not synced to iCloud and my other devices.
How can I force the files to sync to iCloud? Thanks.

I decided to reboot to see if that would cause the files to sync to iCloud. I closed most apps, and then I saw that the files had synced. Maybe I just needed to close Panda? At any rate, it works at the moment.