Why was the worker fired from his job in the mattress factory?

Why was the worker fired from his job in the mattress factory?