Before we move on to actual fixes, if you just want a fast and temporary solution, check out the workarounds below. They won’t get rid of the problem for good but will at least get things done quickly ...
Messages is designed to sync across all your devices logged into to the same iCloud account. iMessages sync by default; SMS/MMS and RCS messages sync if you’ve enabled access to them from your iPhone.