hi, I do the same thing at times and am not bipolar so while I'm not sure if it is connected with this in your boyfriends case or not; it can happen for other reasons. Have you asked him what is happening for him when this happens? that might be one way to help

as well as helping him to find some professional help if you haven't already and both of you suspect he is bipolar