Yes he saw the trap. To attend a same-sex marriage (I don’t use the word ‘gay’) is to celebrate it and in so doing to defacto recognize it.
Would Jesus, God in the flesh, attend a marriage of a man with a man or a woman with a woman? And if He were to attend such, would He celebrate it?
To attend a such a marriage for Christians is to celebrate sin, to celebrate perversion, to celebrate an abomination to the Lord.
And once one sin is celebrated, it is no longer considered sin to the confused. As confusion ascends then all other sins wait for their normalization. The Church falls and is no more.
Since you brought up Jesus, do you think he would evade answering whether or not he would attend?