Your mistake is thinking public and private are the same.
There's no other explanation.
In a private company the employer has the power over the employees.
Working for the government and wielding power over the general public is a privilege and comes with higher expectations than a private employee.
Your mistake is thinking public and private are the same.