Function of の in どうして彼が好きなの?

I was wondering, if の here acts as for seeking explanation, why is な required?
I know 好き is a na-adjective but it is not describing の in this sentence, isn't it?

by you_got_a_minute