Because the STM32CubeIDE is intended/targeted only for ST devices - why would ST spend time making their IDE work for other company's products? If you want generic ARM development, use generic Eclipse, or MCUXpresso if that works for you.
If you read the question I asked carefully, I am talking about other companies' own IDEs that offer the necessary versions for macOS apple silicon. why ST doesn't do the same. the question I asked was very clear and I just showed an example.
Eclipse IDE—the core of STM32CubeIDE—has provided Apple Silicon binaries for quite some time now.
Other MCU vendors have already followed suit with native Apple Silicon support in their IDEs, such as NXP with MCUXpresso and Microchip with MPLAB X.
It’s surprising that ST hasn’t released a native Apple Silicon version of STM32CubeIDE yet. With Apple expected to eventually remove Rosetta from future macOS versions