By just looking at the video, you can see that they cut the engines after the rocket starts tilting. I guess that’s the flight termination system. Also, it didn't fall into the ground, but into the water.
I cannot tell if you're joking or not, but a rocket crashing into water vs on land is easily the difference between "no big deal" and "property damage + loss of life."
I've read a lot about this from at least the United States perspective. The rocket wasn't launched from the United States, but the FAA requirements on flight termination is the ceasing of thrust and removing "energy" from the vehicle by rupturing tanks if they pose a danger. The primary thing that's trying to be prevented by flight termination systems is damage/danger to uninvolved parties. So if it's low to the ground simply shutting off the engines is a perfectly fine solution to the issue. If its higher then rupturing the tanks will be needed as it's likely going to land outside the safety area.
For larger rockets this is typical, however smaller rockets often only have a thrust termination system - for example apparently Rocketlab's Electron uses thrust termination.