They knew what the consequences of not doing so was going to be.
In Stalin’s time, they kept track of people who denounced others, and those who had never denounced anyone. And then they would detain those who had never denounced anyone, and forced them to cough up some names, any names.