Why do the packages folders get dirty/broken so easily?

Today I haven’t installed anything new but when I’ve installed new packages (for example last week StatsMakie.jl) I had this kind of errors :

I’ve seen you are the guy who replied there suggesting to remove ~/.julia/registires/General. Other threads suggest to remove the Clones folder instead.

If I don’t do it I just can’t install or build the package.

More about dirty folders:

Is there any way to remove just the broken subfolder (know which one) instead of all the registry or clones folder?