Why did JFK establish NASA?

President John F. Kennedy didn't establish NASA; his predecessor, President Dwight D. Eisenhower did.