Background
Originally, 'haywire' referred to the wire used to bind hay bales. When something was 'haywire,' it meant it was tangled or messed up, like a bundle of hay that had come apart. Over time, it came to describe anything that was out of control or not working properly.