Zend certified PHP/Magento developer

What causes a filesystem to get corrupted?

I just went through the following: When rebooting my Ubuntu PC, I got a message that welcomed me to emergency mode. Following the instructions from another stackoverflow post, I ended up running fsck.ext4 on my root partition from a live USB. This proposed some fixes which I accepted, and since then things have been looking fine again.

However, I wonder what this whole ordeal means. I’m assuming it’s not normal for things to just break, is it? Does this mean anything about my SSD drive possibly getting old and unstable? Is it something else that I can do anything about? Or is this just something that one has to go through from time to time? I haven’t done anything to my system that I’m aware of that can trigger this. I install updates using apt dist-upgrade and I install new programs via apt or snap from time to time and that’s about it.