It's not that the software is built explicitly to overcharge people. But it is written and launched into production in a buggy state. And the bugs that cost the company money get fixed. The ones that cost the customers are... not prioritized. The overcharging becomes an emergent property.