I think the guilt/shame (primarily shame) that BPDs experience is not grounded in specific events or actions in the past, but more of a fundamental and pervasive sense of shame about who/what they are. So I think it's more likely that the emotional problems are a result of the fundamental sense of shame rather than the cause.