It’s the other way round isn’t it, 48MP sensor that outputs a 12MP image due to QB. That way you are getting 4 sensor pixels for every image pixel. And why you can force the sensor output to give 48MP image files.
Edit : yep, looks like Motorola have a 50MP sensor in their phones so you end up with a 12.5MP image.