Ridley Scott explained how studios didn’t realize ‘The Martian’ was a comedy.