Optical zoom or software "zoom?"
Look at the camera lenses sideline photographers use at football games this weekend. Those are optical. If software version were any good, do you think they would be lugging that stuff around? Look closely at the TV coverage. The camera lenses are all optical which is why the coach picking his nose image is sharp from across the stadium.
Phone cameras are digital toys intended to amuse users and make their photos appear routinely competent. They can produce nice 4k video when viewed on a 4k system. But put them on a 256k pro system and they turn to mush.
The whole point is to understand what your camera can and cannot do well, then work with its strengths. As Kurt noted earlier, if you turn off all the cell phone automatic , you might be able to make a nice photo -- after a lot of experimenting.
To anyone thinking of getting a DSLR for coin photos, first use a cell phone or a cheap digital camera to nail down and understand lighting coin both raw and in plastic tombs. Once you have that zeroed in, then buy a good 24 meg camera, a close focusing zoom lens, and a set of auto extension tubes for detail photos. OH -- an practice -- a lot!