The Arduino Library Manager (Sketch > Include Library > Manage Libraries) creates those folders when a library with the same folder name is already present in your {sketchbook}/libraries folder but it can't be sure from the library metadata (library.properties) that it's the same library and thus doesn't want to overwrite the existing library.