It was viewed differently. The 1790 Congressional legislation to which many refer included the following caveat:
Provided that the right of citizenship shall not descend to persons whose fathers have never been resident in the United States.
True.
But that provision would not have applied to Cruz, whose father lived in US before and after his birth in Canada.
Our outlook for almost all legal issues today makes no distinction by sex. It was very different in 1783.