It’s because there is a metric shitton of software that goes into the camera app itself, and access to the camera’s hardware does absolutely nothing to enable these features.
IIRC there’s actually some sort of crazy ML shit behind Apple’s native camera app; I would be very curious to see what a raw photo from the same sensor would look like in comparison.
Having said that whatsoever validates the commenter’s point.