If this is true then the Arduino IDE 2.0 "Portable" (.zip download) version is badly BROKEN! I always use pre 2.0 IDE Portable versions and often keep more than one version installed (unzipped) side-by-side. When I finish a project I can archive the directory with the IDE portable version files and it becomes a snapshot in time that I can always go back to. This is by design. For example, here is the description of the pre-2.0 v1.8.19 portable version which I can verify IS TRULY PORTABLE:
https://docs.arduino.cc/software/ide-v1/tutorials/PortableIDE
Arduino IDE 1 Portable Installation
Why Portable?
Almost in all the schools students don't have administrator privileges, so they don't have write access in some folders. This leads to some problem in using the Arduino Software (IDE) since your preferences and sketchbook are saved in one of those folders. Using a portable version of the IDE you can overcome this problem.
Another scenario can be the following: you want to organize a workshop and you need some additional library or a specific core. Since the portable version stores the sketchbook, the libraries and the hardware folder locally, you can have a starting point equal for all the people who join the workshop just replicating the same folder on all the machines. This is also quite useful if for some reason you don't have an internet connection and want to prepare everything for your project without downloads and delays.
Furthermore, a portable installation could be on a pendrive, allowing you to carry around your personal set of sketches, cores and libraries, to be used on any computer without affecting it with your files.