In Finder, if I just duplicated the stuck file it would make a copy and then the original would immediately sync too.
For me this was a .md file, so I can't vouch that it will fix other files with this problem. But duplicating it seemed to jump start the sync, and then I deleted the copy and that synced right away too. Hope that helps someone. That's under Monterey 12.3.