Remember when he makes statements like that he is making it as the first Catholic Pope from the Global South. And in the Global South(i am from there) there is a perception that liberal attitudes in the West on Gender and Sexuality are a part of a Western/colonial construct. 

That view point is totally wrong of course and should be challenged. But that's the background.