What would be the relation between marital distress and depression?

It is quite common to see maritally distressed patients that are depressed, and depression is often associated with marital distress. How could we determine which one is the cause and which one is the effect?

Also, what would be the impact on treatment (e.g. should we start to treat depression first, start couples therapy, or have both treatments?)