Why does hinges and ball in socket constraint seperate

ok so my train coupler why does the ball in socket constraints detatch and the coupler goes crazy

are the two couplers welded? or sticked by another method?