When Pharisees ask Jesus whether a man may divorce his wife "for every cause," they are not introducing the idea of divorce for the first time. They are asking within an existing Jewish discussion about how the Torah's divorce legislation should be interpreted.
Jesus responds by moving behind the dispute over permissible grounds to the creation account itself.