Quash usually applies to government or government authority. It means "to annul" or "legally invalidate."
Squash means "to squeeze" or "crush."
Examples: The "fairness doctrine" quashed media debates.
The army squashed the demonstration in the capital.