During a war, telling the truth to the wrong audience or in the wrong way may end up aiding the enemy, even if the speaker did not intend it. People generally agree that such people can be silenced, even if that violates their freedom of speech.
In a pandemic, the adversary is the nature, but the situation is similar. Speaking the truth the wrong way may kill people, because the audience may make incorrect conclusions from it. The society may decide that preserving those lives is more important than preserving someone's freedom of speech. After all, the situation may be dire enough that you must sacrifice one fundamental freedom anyway to preserve another.