Apple must turn a profit somewhere and charging a bit more to their high-end customers to give a bit more of a break to their low-end customers isn't a terrible method.
If you hate Apple's pricing, you have WAY more companies to hate on first.
Apple has a gross margin of 44%.
Amazon has gross margin of 46%
AMD has a gross margin of 47%
IBM has a gross margin of 54%.
Microsoft has a gross margin of 71%.
Oracle has a gross margin of 72%
Nvidia has a gross margin of 74%.
Meta has a gross margin of 78%