The US constitution forbids states from creating ex post facto crimes, and the jurisdiction of state laws does not extend into other states. Texas cannot make it a crime to have an abortion in California, nor to have previously had an abortion in California.
Texas may be able to make it a crime to leave Texas for the purpose of having an abortion. That would make creating any evidence of the reason for travel, or providing explanations to authorities dangerous.