It can depend on the kind of Titanium Dioxide and Zinc Oxide that has been used, so a difference in particle size and different particle coatings. Other ingredients can boost the spf level as well, like certain polymers or antioxidants. Also how well the product can form an even layer on skin, so it’s texture, influences the SPF level. So you can never tell the SPF level by just looking at the percentage of sunscreen actives.
I believe the Mineral SPF50 is also a newer formulation than the City Block, so chances are high different technologies have been used.