It basically means some priest or monk at some time assumed some position to be "natural" and declared it to be what god wants, and everything else is unnatural/satanic/etc.
How it goes horribly awry: only a male and a female can "naturally" reproduce. So therefore, that's why the RCC is opposed to anything other than sex between a man and a woman in marriage. Never mind that homosexuality occurs in nature, and is certainly a natural sexual orientation in humans. Never mind that intersex individuals are real and might be male, female, both, or neither. Never mind that some people don't want children, or can't have them, or have no interest in marriage. Never mind any of that - the RCC's ancient minds decided THIS IS THE WAY and while you may "academically" question it, it's only a farce because the church has already decided they cannot be wrong, so you can go through the motions and pretend you're super intellectually rigorous, but end up at - lo and behold - the church's perfect position! Wow, what are the odds?