That’s Portrait Mode. You only get that if you change from Photo mode to Portrait mode in the Camera app, or in later OSes by retroactively applying a Portrait effect in Edit mode. The addition of the latter feature also made it possible to retroactively remove the Portrait Mode effect from a photo, as long as you have the actual source asset and not a rendered JPEG/HEIC with the effect baked in.