What cognitive and emotional developmental issues are at play when tweens and teens make the decision to have sex?

What cognitive and emotional developmental issues are at play when tweens and teens make the decision to have sex?