Consider the 2016 "Resistance" by federal employees to the election of Donald Trump. The public had clearly voted against immigration and free trade. At that point, the job of the federal bureaucracy was to put aside their own views about whether immigration and free trade were good things, and use their skills to implement the agenda of their duly elected new boss. Instead, they publicly and vocally declared their insubordination, both to the President and the public who elected him. Likewise, during the 2020 George Floyd riots, you saw public health experts allow their moral ideology to affect their expert recommendations--treating religious gatherings as somehow being different from social justice gatherings.
My belief is that these things directly led to the debacle of the pandemic, when people refused to trust experts on vaccination--despite Trump telling them to take the vaccine. My dad spent his life working as a public health expert in the third world, and what happened was, while disappointing, not a surprise to him. A huge part of public health work is getting people to trust you. And you must earn that trust by putting the job first. If you go into a village in Bangladesh and people don't want to be treated by a woman doctor, you provide them a male doctor. You don't chastise them for their "sexism." My dad actually worked for a Planned Parenthood affiliate in Bangladesh. At least back in the 1980s, they were providing family planning services consistent with local beliefs, and not trying to impose western ideals on the public--something that would have swiftly destroyed trust.
Most people who aren't that smart understand that and are deferential to their betters. But they also have an intuitive and accurate sense of what's an exercise of expertise, and what's a moral or political judgment. And when experts step out of their lane, they destroy the trust that's critical to doing their jobs.