Somebody (everybody?) on that boat was just doing some casual cruising and not maintaining situational awareness of the water depth around them.  And if their engine failed, and they just drifted onto the reef, why didn't they use their anchor before the boat hit the bottom??  Sunday sailors.....pffffttt....