They aren't really struggling, no more than anywhere else. Less than the US using real figures and not their BS public numbers.
It's a mix of culture, mistrust between the government and citizens, and authoritarianism.
Temporary inconvenience trumped by public well being.
A lot of things are about making sure the collective looks good in comparison. So Chinese government figured if that means an entire supermarket must be looked down so everyone else can be comfortable than do be it.
Doing what's good for everyone isn't the problem to the average citizen, it's how the policies are devoid of any compassion or humanity. They are cold and absolute to the point that 10 people died in a fire because they were locked in. The government doesn't trust people to self regulate the people don't trust the government to let them out if there's a fire.
Its really hard to get a real tale of what's going on do to China having a "what happens in our house is our business" when it comes to releasing international news and biased media sources on the outside. What's clear is that China's policies are so wrapped up in red tape that senseless stuff like the 10 deaths happen. They see what happened in say the US for instance and say "that's not happening here" then do shit like making sure you can't leave your building if you are sick/exposed not considering there still needs to be ways to get out in emergencies or that maybe one case can't actually infect an entire building. A floor? Maybe. Entire building? Relax.
Comparing US and Chinese approaches
US - optional vaccines. optional mandates that were loosely enforced. Tons of deaths but a lot more personal freedom. You're own your own. No one will stop you are anyone else from going out while sick.
China - mandatory strictly enforced measures. Mask and lockdowns mandates were lifted in a lot of areas before the rest of the world but condition that if there's a confirmed case near you, expect to be locked down. Locked down so hard that you might die in a fire because first responders can't get to you in time.
One country, so many deaths that weve just stopped counting. The other is so fearful of out of control numbers it can't get people out of quarantined buildings. Both are flawed but China's execution is insane. They've been so strict they have failed to adapt to a world where the virus might not go away. You lose when measures become deadlier than the virus. I think China is actually experimenting for future, deadlier diseases. Can't just copy the West because we saw how the West didn't do so well. COVID is no joke but again, they are being insane even for China.