My guess is that the relationships are dysfunctional well before the wedding, but one or both believe that getting married will somehow magically fix their problems. They get married, realize that everything is still exactly the same (or worse), and split.