Why would a guy ask if he is good or not?

We have been friends for 2years.. and I frequently joke “you are bad” and he always say im good (PERSONALITY WISE). Then randomly yesterday, he ask me “do you ever think im good” i was trying to avoid answering it, cuz honest truth, he is not that great hahaha.. but then he keeps on asking again and again. Then i just answered it.
But yeah, actually, its my first time ever hearing someone asking such question to me, kinda wonder why (if anyone ever do it before as well, let me know why you ask people such question)

Why would a guy ask if he is good or not?
Post Opinion