is this normal???

okay so i had a boyfriend for three and a half years. towards the end of our relationship, he really mistreated me, we argued a ton, all that. we broke up, and i have a new boyfriend now who i’m extremely in love with. he’s better than the previous boyfriend in basically every way. however, the previous boyfriend was the closest person to me in my life at the time, and vice versa. sometimes i miss him. i don’t think i’m in love with him anymore, but for some reason i still want to cry when i see him in person or in pictures. i look at him and for some reason my brain goes to “look how handsome he looks, i never noticed that one thing about him before, etc”. and it hurts so badly. once again, i’m in love with my current guy, but why do i get so upset over my last boyfriend still? how do i make it stop?