Depends on the citizenship rules of the particular countries involved (jus sanguinis vs. jus soli and details thereof).
If a mother from a jus sanguinis country gives birth in a jus soli country the kid might have dual citizenship. In the opposite situation, the kid might theoretically be born stateless, although I’m pretty sure actual nationality laws make exceptions to prevent that in practice.