That was also true for older macs, which were cheaper.
I believe that the Apple Silicon macs are the highest-margin macs Apple has ever made, since they no longer have to pay Intel for the CPUs or AMD for the GPUs.
I can see no technical or logistical reason why Apple had to increase prices, and believe it is entirely driven by the idea that the market can bear it.