I can answer the cotton gin one it was a invention used to pick the seeds of cotton made it faster for cotton picking in the south
An example of such an event can be when the Civil War ended. The country went back to the gold standard and destroyed large sums of civil war money which was useless now. This led to a major deflation because there was suddenly much less money than before and the money had higher value than before.