One of the most common causes is corruption in the pen drive. This can happen due to improper ejection, physical damage, or just wear and tear over time. Files or entire folders might lost if parts of the card become unreadable. I would recommend checking out this software to know get back files which was lost automatically and the software name is BLR pen drive data recovery tool.