Bipolar disorder? (This is long please bare with me

Hi guys before I start I want to say that this post isn’t about me but my ex/friend , and that he at this moment hasn’t being diagnosed with anything other then adhd.
So my bf, or we’ll my ex now, (he broke up with me a few days ago after almost a year of dating) but anyway I’m not writing this cuz he broke my heart and I think there’s something wrong with him, I KNOW there’s something there, let me explain. So he has always been really closed off and not been able to express his feelings/emotions properly. Heres some things that I’ve and his friends have noticed 
- he sometimes could be his normal goofy self then all of a sudden he will switch into this ominous edge lord that will talk in a low slow tone, this usually last about an hour or so, he doesn’t seem like he realizes it or is aware, but me and all his friends have agreed that he’s like this. I don’t really know how else to explain it, he’ll just all of a sudden be really low and kinda scary in a way, when he’s like this he will also sonetimes do this thing, he will tilt his head to the side, and do a closed eye smile with a little giggle, this only happens when he’s in this “mood” his bsfs as well as me all know about this little “habit”

Now recently, a few day after the break up- now. 

He told me he still wanted to be friends and that’s fine with me

He still texts and calls me on the phone 
But lately i’ve been getting the impression that he is uncomfortable around me, especially when we’re in person, he would have no problem talking to me on the phone or texting me but when I see him in person he like totally changes and it looks like I’m bothering him by just being near him. I asked him about this and he said he’s sorry he makes me feel this way and he  is not uncomfortable or bothered by me in any way. 

Now today about an hour ago we were walking Home from school on our way to 
Hang out at my house for a bit and I asked him about his ex girlfriend because she’s quite a common subject and I mentioned that she would be moving back to our city because she had been gone (she still has feelings for him and everything and she’s just been waiting for her time to strike and now since we are not dating anymore I think that’s now lol, (he had blocked her on everything and he doesn’t even really like her and he had told me that she had texted him asking him to unblock her and he did) I  went on about how now she’s going to think she has a shot with him because he unblocked her and now he’s going to have to deal with her wanting to talk all the time and possibly hang out, and he proceeded to say that “oh well I don’t like her, she’s annoying but she probably won’t be in our city for long so I only have to deal with this nuisance for a bit”
Then, when he got to my house he started to tell me that he missed me and stuff but I explain to him that he had broken up with me and he had said that he had lost feelings so I was confused and I even expressed that I thought he hated me or was uncomfortable and Now he’s acting like he wants to be affectionate, he proceeded to say that he’s not sure, now this is what the main topic of this post is about and makes me think that he might have some kind of mental illness, he says “ i’m sorry that I broke up with you in such a cruel way and I think I love you Still love u, I may not have a proper understanding of love but as far as i know I love you, but I’m so confused because some days I see you and think you are the most annoying person ever and can’t stand you. But then other days like right now I can’t help but want to see you every hour of the day” he also said something about earlier when he was talking about his ex, he said “ also I don’t hate my ex I’m not sure why I was so cruel earlier, she’s like a friend to me I definitely don’t have anything against her, it’s just like I have a script in my head that I automatically say even if I don’t agree with what I’m saying it’s like someone just writes it for me and I say it”

So idk if u guys could tell me what u think 
Cuz I’m really not sure  but I Know that’s not normal, maybe if it’s not quite bipolar disorder it’s something else? Please let me know what you think!