Abortion

I was reading an article about El Salvador telling woman to avoid getting pregnant for the next two years because of the virus causing birth defects.. Anyway, in the comments people were arguing about why abortion should/shouldn't be illegal (it's illegal in El Salvador).
One of the examples other than rape/health issues that someone said was a teenager getting pregnant and being kicked out of their home...
While I wouldn't be thrilled my teenage daughter was pregnant... I just don't see how anyone could kick out their child for getting pregnant..