People don’t usually leave because you did something wrong. They leave because they stop liking themselves when they’re around you.
When someone feels weaker than they want to be, more nervous than they should be, less confident than they used to be or less like themselves than they hoped to be, they start to pull away. Not because you’re bad, but because they don’t like the version of themselves they see in that connection. People don’t run from you. They run from how they feel about themselves when they’re next to you.