I don't think the manufacturing costs are much different. Look at this:
A look at what makes two genuine Mazda oil filters different, even though both numbers supersede to the same number in many aftermarket brands
artsautomotive.com
This shows the measurement of force required to press the spring. Now, I'm not an engineer, but maybe there's an interplay with the heavier oil the turbo motor uses. Therefore everything would work as intended with 5W-30 using this filter and 0W-20 using the other filter. That's speculation on my part as there may be another reason why Mazda did this.
And look at these teardowns that show the filters to be otherwise the same:
Oil filter review.Let's see what this used Mazda oil filter caught, after being in a 2020 Mazda CX-5. Mazda 1WPE-14-302 oil filter: https://www.mazdapartsfac...
youtu.be
Roberto's Youtube Channels: https://www.youtube.com/@twinforce_fusion6560 https://www.youtube.com/@impalalfx1349Oil Filter Inspection.Today we'll open up a ...
youtu.be