People respond to stress differently, some become clingy and need a lot of support from friends and family whilst others withdraw in to themselves.
You are going through a hard time and if your girlfriend believes you do better without her, maybe you are pushing her away, withdrawing in to yourself.
Maybe your girlfriend is depressed herself and doesn't have the energy to cope with your problems at the moment. Have you asked her how she is, how her life is going?