The military services have their internal procedures but the President absolutely may override them and decide who to appoint or not appoint as a commissioned officer (the higher ranks requiring Senate confirmation).
Then what’s the story with this freak show?