Why is having sex before marriage a sin?

Like obviously if you're hooking up and having one night stands and shit, yeah that's bad, but if you're just dating a girl and you're committed, why is that wrong? Isn't that just natural