How are these folders invisible?
Files and folders can have the ‘hidden’ flag set.


ls can show flags with ls -lO (capital letter O).
Set the hidden flag with chflags hidden /path/to/file.
Remove the hidden flag with

chflags nohidden /path/to/file