Recent iPhones save photos as HEIC to use less storage. Many websites cannot read the format, so the upload fails.
What HEIC is
HEIC is a modern image format with good compression. It keeps quality at about half the size of a JPG, which is why Apple made it the default.
Why uploads fail
Many forms accept only JPG or PNG. A HEIC file is rejected even though it opens in your gallery.
Convert it
Use a converter that turns HEIC into JPG. Choose JPG for forms and PNG only if you need lossless output. Then compress to the size your form needs.
Avoid the problem next time
On an iPhone, open Settings, then Camera, then Formats, and pick Most Compatible. New photos will be saved as JPG.
Sharing
When you send photos by email or to a Windows computer, iOS often converts automatically, but not always. If a friend cannot open your picture, send a JPG.