Why does the Bible call homosexual behavior sin?

Why does the Bible call homosexual behavior sin?