They do this when they want to protest against something they think is unfair where they work.
Strikes sometimes happen so that politicians have to listen more carefully to the workers.