I checked the dictionary.com app and it didn't quite satisfy my curiosity.
The OED says "The fig. use of the phrase far fiasco (lit. ‘to make a bottle’) in the sense ‘to break down or fail in a performance’ is of obscure origin; Italian etymologists have proposed various guesses, and alleged incidents in Italian theatrical history are related to account for it."