Why is it illegal in some countries?

Isn't it better for the child because it will discourage the mother from cheating?

Wouldn't it lead to a more stable family?

Appreciate all insights, including women's views on this

If you know of any academic papers on this, please point to it.

Edit. Isn't it fair that the biological father bears responsibility for the child?