Why do guys ask when the last time you were in a relationship?

I’ve been hanging out with two guys I met on a dating app. Going on dates with them and having sex. And both of them have asked me when’s the last time I was in a relationship while we are in bed. So what does it mean when a guy asks that?