Because he got lucky? Basically that's all it amounts to. Sure, good for him give him a medal... maybe even bump him up to lieutenant. But there's a reason why no sane military has 20something year old colonels or naval captains. THey have little practical experience.
By the logic they use of putting NuKirk as captain, you may as well make Wesley Crusher captain because he's super smart.