As far as public sentiment wrt the firings go, it isn't super surprising that people are more upset about government employees getting fired. Big tech is becoming increasingly associated with things people don't like. Ads, toxic social media, gig economy, annoying CEOs (admittedly not the fault of the workers), AI in many cases, scams, pricing people out of cities they grew up in, etc. I think if you randomly selected a federal government employee and a tech worker, there's a much better chance the government employee is doing something more helpful for the average American.
I assume this will be more evident as the startup ecosystem continues to die in the current interest rate environment, tech salaries continue to decline, etc.
Politicians didn't lay off those people, businesses did. If you think they need to be punished, then you boycott them or regulate their behavior. You're taking vengeance on the wrong people while letting the real perpetrator get away.
You will be disappointed if you demand that federal employees reciprocate the consequences that Silicon Valley workers face. They have job security for much different reasons than a SpaceX or FAANG employee.