Incorrect content/mime-type on S3 SVG upload
Your SVG file is probably missing the the XML declaration at the top (&lt;?xml version="1.0" encoding="UTF-8"?&gt;). PHP's FileInfo detects XML files (which SVG is) without that declaration as text/html files.

Lots of SVG editors/exporters will (annoyingly) omit that.