Confused

Hey my names elizabeth and i dont know i feel a bit internally confused my ex broke up with me telling me that hes being home sick and misses texas ( i live in california). He was about to go back with his car ended up in an accident hes fine but i just don't know how to act around him, i still have feelings and hes treating me like a friend. Sometimes i have ..urges and accidently hit on him, then other times i feel hurt so i end up lashing at him for stupid things. His job got transfered to texas so i see him alot more then i used to am I a bad person for my nood swings? Just so internally confused. Hoping his insurence check gets here so I can just be alone..