Why some images on the View are upside down, rotated or flipped?

That's a problem with an image metadata called  EXIF

When this image was uploaded to your WordPress (or a Gravity Forms form), this EXIF metadata wasn't properly transferred or was even stripped down during the upload process.

Read this excellent article on  wpbeginner.com to understand how to fix it.