iPhone 12 Pro here. The issue is not with just 12 Pro Max, stop saying this. Yes there could be different 12 Pro Max hardware related issues too, but 12 Pro definitely NOT CAPABLE OF TAKING CLOSE UP MACRO PHOTOS, end of story. It has been several major update cycles now, nothing ever changes, in all camera settings on or off, doesn't matter.
It's so funny that Apple is marketing phones with photography capabilities (as that's the only thing left to rip off customers) and then they can't even make the most basic focus functionality. I am so furious, waited for months to be fixed but nothing. Shame on Apple...
And what is worse, it can very well focus the background, but blurs the object. So it's kind of reverse focusing, you get a macro blur, and a clear background.