A prison sentence looks way more like political suppression than just “guilty but still speaking publicly”.
Still don’t think it was the right thing to do, but I can see why a judge who has otherwise seemed same and nonpartisan would be inclined to make that choice.