Now, I don't think employers should need a reason to fire employees. That said, I think such laws aren't such a clear cut injustice like you're making them out to be. Not everyone believes in unlimited freedom of contract, and not being able to terminate employment contracts over personal issues wholly outside the scope of employment is not an inconceivably unjust limitation.