A piano that isn't properly regulated can also contribute to string breakage. The piano action is designed so the hammer bounces off the strings. This is called let off. It allows the hammer to travel only by inertia for the last 1/16 inch or so before striking the strings. If this let off isn't set early enough, the hammer will hit the strings with the full force and weight of the pianist's fingers (and hand and arm) and will stay there, pushing against the strings (and muting the sound). This extra force can easily break strings, not to mention other parts in the piano.
Occasionally a piano string can have a defect. This can cause it to have false beats or even to break for seemingly no reason.