I have both M2Pro and M2Zoom, and had a M1Pro before, and I'm mostly into photography rather than videography.
The M2Pro is generally better, of course. More dynamic range, more resolution, less noise. But you know all that from the specs.
I also tried the M2Zoom for photography, and it has a few more subtle advantages as well. First, it goes to 24 mm on the wide end. So, if you're restricted in altitude, those 4 mm more might be what you need to get the picture you want because the 28 mm of the M2Pro aren't wide enough. Same goes for the telephoto end: You may be unable to descend into a crater or something because you would lose radio connectivity, so you can stay higher and zoom in with the M2Zoom, and end up with more pixels than using the M2Pro and cropping afterwards.
The lens of the M2Zoom has a weak spot, which is corner sharpness at 24 mm, but it's tolerable for most subjects I think. My M2Pro had a decentered lens first, so I sent it back to DJI for exchange, and got a good one back. (Used the M2Zoom in the meantime, and that's my use case indeed: I want to have a backup, and the M2Zoom is a much better backup because it can share all accessories (except filters) with the M2Pro, while the M1Pro couldn't, so I sold that and bought the M2Zoom in addition to the M2Pro.)
Also a major difference: the M2Zoom makes 4:3 photos, the M2Pro makes 3:2 photos. Coming from ground-based DSLR photography, the 3:2 is more my thing, and I often would crop the 4:3 photos from the M2Zoom (and M1Pro before that) to 3:2, further reducing resolution.
Regarding the spec differences: keep in mind that, depending on your style, many if not most subjects don't exceed even the M2Zoom's dynamic range. So, if you would be able to use low ISO most of the time, and 12MP is enough, the M2Zoom is also an option for photography. Still, I'm almost always choosing the M2Pro anyway.