Make sure you are signed in to iCloud with the same account on each device, and that iCloud Drive is turned on. (iCloud Drive is very important, and many people forget this.)
If that doesn’t help, here are some other things to check: Syncing between desktop and iOS
Lastly, some companies block iCloud, so you might need to check if that is the reason sync is not working for you.