Gear failures is almost never a big part of cave accidents. But lack of training and following established best practices is a big part of cave diving deaths. (Actually cave diving used to have better statistics than regular recreational scuba diving. ) In this case I do think the accident could have been avoided by following the established best practices they all knew.