They have a kind of connection beyond the name, even though neither is a linear descendant of the other. Tex-Mex tacos are a descendant of traditional central Mexican tacos, as also are tacos al pastor; but tacos al pastor are also descendants of schwarma, which French tacos derive from. So they're like cousins by marriage.