What does it mean if a guy gives you his last name instead of first?

My roommate was apart of an engineering club, and the leader had a birthday party. She didn’t know anyone really neither did I cause I wasn’t apart of the club. Anyway I met this guy and he told me his name was Smith, days later I find out that’s his last name. But then when my roommate asked for his name that same night like five times and tells her his name is Dylan. Why would he tell me his last name? I'm not a guy (I know some guys refer to each other by their last name) like what does that mean?

What does it mean if a guy gives you his last name instead of first?
Post Opinion