She knew Harry and Ginny wouldn’t abandon her but it wasn’t the same anymore. She didn’t want to have them choose between her and Ron. She just needed to figure out her potion and leave Hogwarts. Start a new chapter of her life.