You go for the touchdown first because it is easier to gain 20 yards to kick a game winning long field goal than to connect on a Hail Mary to win the game.
What Kingsbury accomplished by kicking the field goal is that he can blame the loss on Prater. That is the modus operandi of a coach...