Such is life. Hasn't bothered me since high school. Probably just need some time for things to pass or invest in self help books or do positives things to uplift yourself. If it gets too bad you may need to seek help. You are important. The rejection may have triggered something subconsciously that you are holding in.
I say this because I had a friend experience a divorce and she felt it was because she wasn't pretty enough, didn't help that her husband remarried a skinny woman. My friend used to be thicker and has a nice body (NEVER gains waist weight, her mom is like that) but struggle weight (not obese like JHud more like Beyonce when she is off tour or young Janet Jackson). Shes just a thicker gal by nature. When she was modeling she got super skinny to the point where we were forcing her to eat. Could see every bone in her body. Anyway she finally got help but as beautiful as she is and all of the high quality dudes that approached, she still saw herself is the fat kid in gymnastics and her divorce triggered this 10+ years later.