Pope Francis was responding to five conservative cardinals who challenged him to affirm church teaching on homosexuality.