What does it mean?

What does it mean when a guy says he wishes he was the one who took your virginity? I tried asking why but he kept dodging the question. And even my ex said that before. So I’m curious what taking virginity from a girl means to a guy?