This question has been and still is a controversy.
However , based on our understanding of evolution, we have to assume that the hen came first through evolution from a different being over time due to natural causes ( like change in climate, environment , evolution of other species etc)