Jon Favreau was originally hired by Marvel to direct a Captain America comedy film. When that fell through, Marvel kept him on to direct Iron Man.