I'm not so sure abortion really fits the same criteria. Now while the argument that STD's are consequences of "immoral" sex is a purely religious one, pregnancy is not. Pregnancy is a natural consequence of sex. Whether you are religious, atheist, or spaghetti monsterist, you cannot argue that fact. Hell if you are an evolutionist you'd have to agree that until we learned to enjoy sex as a fun activity, it was purely for procreation, advancement of the species. The problem now is that since we have learned we can do it just for fun, we believe that we can avoid the natural result of sex. Especially now that we have the technology to end pregnancy, the belief is growing that sex can become purely non-consequential. I am personally middle of the fence on the subject, there are circumstances in which abortion may be a reasonable choice, but I do not see it as a get-out-of-jail-free card to do whatever one likes and then avoid the results. For the record, yes I am a religious type, and yes sex is pretty awesome. I do not believe it my place to control someones sexuality. I also believe that the existence of abortion should not be a free pass against the very possible result of sex should it occur.
TLDR: pregnancy is a consequence of sex no matter how, when or where you do it. You roll the dice, you should be prepared to handle the result of your actions