If I recall high school math classes correctly (it’s been about 40 years so no guarantee ), you’re correct and your iPhone is exhibiting artificial unintelligence.
And as I said, multiplication is not really before division in the OOO, it’s equivalent to it. Thus the operations are performed literally in the order they appear. Like the calculator says.
This is why Polish Notation (or better yet, Reverse Polish Notation) is superior to PEMDAS; no ambiguity because the “order of operations” is defined by the order in which operations are applied.
I can’t speak to iPhones but my Android gets PEMDAS. Notably, it does not resolve each button push before going on to the next bit (well, actually it does but it re-evaluates the answer as the equation is typed in so, 1+2 and you see 3…when you add x 3 it resolves to 7). The whole equation is evaluated to produce an answer. (NOTE: This is the built in Android calculator and it is set at its most basic function and not scientific mode or whatever else it has).