Why would my friend’s company interview me for an opportunistic role that’s not posted on their website?

Why would my friend’s company interview me for an opportunistic role that’s not posted on their website?
Post Opinion