MacBook Pro - SSD problem, folder with question mark
Solution 1:
Folder with question mark appears when your Mac is not able to find a startup disk.
If a flashing question mark appears when you start your Mac
About the screens your Mac displays as it starts up
This could be due to either failing drive or loose connection between hard drive and the logic board (more common in MacBooks/portables).
Other symptoms most likely point towards some kind of hardware failure rather than software.
Recommended to get it inspected by an authorized technician or service provider.