We militarized space when the x-1 program broke the sound barrier. It used military panes, piloted by military pilots, taking off from military bases. All this was before NASA was formed which was dependent on military contractors and military pilots.
NASA is a military organization. Read their charter.