The religious leaders were trying to trap Jesus in a legal issue on the legality of divorce according to Moses. The leaders really didn’t want to be answered – they wanted to trap Jesus.
But in typical Jesus form, He didn’t respond with an answer that would trap Him. Jesus gave foundational answers and let them decided how the issue should be handled.
I cover the foundational issues of sex, marriage and adultery as Jesus discussed in Matthew chapter 19.