I don’t know the technicals I don’t have any Google accounts but I think it converts back and forth between sms. (I remember twitter used to let you sms to tweet back in the day, might be similar). Basically someone is on their computer chatting through their gchat and therefore gchat has downloaded all phone texts and numbers they are from