The code/library/service responsible for storing the original file on S3 is most likely setting "response-content-disposition" to "attachment" when it stores the file on S3. That tells S3 to deliver the file with "Content-disposition: attachment" in the HTTP headers which is what causes browsers to save to disk instead of display.
You want "Content-disposition: inline" or no content-disposition header.
You want "Content-disposition: inline" or no content-disposition header.