Poor people are typically less educated and (I guess) are not as well informed about STDs as more affluent people. In countries without a proper healthcare system they are probably also less likely to get STDs treated.
Unwanted children are typically not good for getting out of poverty.