You are making an assumption that she did not care because she did not act like she cared. She might have cared very much but, for example, maybe your success and your personality made her feel badly about herself so she withdrew from you. It's good you moved on rather than dwell, but perhaps you can leave the door open for her without exposing yourself to being hurt again.