BPD and depression are linked, though I'm not sure that one causes the other. They're definitely partners in this whole mess. Usually if you have BPD, you also have depression, or at least depressed moods. Most treatments with BPD also cover treating the depression.