Marriage in the ancient world was deeply connected with household continuity, reproduction and inheritance. The Sadducees assume those institutions must operate unchanged after resurrection.
Jesus replies that resurrection life belongs to a transformed order in which people neither marry nor are given in marriage.