A project compiles the unreal engine when adding a file

Description of actions:

  1. Downloaded and build ue5 from epic github;
  2. Created a new project in the ue5 editor;
  3. Everything looks good, the project is playing, no problem.

After I added a new с++ class to the project, it starts to recompile all engine modules dependent on the project. WTF

Also, when I return to build only UE5 again, it starts to recompile all modules. I observed the same behavior with earlier engines

What do I do wrong?