A flap connection strut connects the adjacent inboard and outboard flap ends. Attached to the flap connection strut are flap disconnect sensors. The sensors send signals to stop the flap movement, if the strut movement is more than the specified limits.
As to why whatever you can think of which would cause structural damage.