Samsung galaxy watch 4 classic fall detection feature

I am so curious about this fall detection feature, is this threshold based or machine learning based ? the fall feature is not that accurate? why it fails some times? how the model prepared?