Unless you had a union agreement/employment contract that was breached, and absent legally actionable discrimination/retaliation, a company can set the conditions of work much as it sees fit. This includs when and why to fire a worker. In fact, an employee can be terminated for any reason or no reason at all, with or without notice.