It's a question about how Jewish tradition and law considers the matter. In general, Jewishness is "matrilineal" meaning that it is passed down from the mother. There's a lot more to it than that. This article may be helpful to you. People can also convert to Judaism.