There are two message systems iMessage and MMS, if the text was from another Apple user it should be synched by default, however with telephone company MMS messages syncing does not automatically occur. A feature of Ventura and iOS/iPadOS 16 is the ability to sync both iMessages and MMS texts between devices and another
setting has been added in Settings > Messages > Text Message to enable this.