Pis crash, plain and simple. Like a normal computer, with a normal OS. This is a function of the software. This isn't the end of the world, but can put your system automation in question if something bugs out.
A microcontroller, like arduinos and microprocessors, like PLCs are based off hardware.