It's hard to say what LLMs are "programmed" to do, as they're largely untamed beasts of text prediction. In fact, I would suspect its built-in biases are less the result of pre-prompting or post-foundational-model training and really just what a lot of people tend to think online. In a way, it's more like people in general often equate illegality with immorality.
You can see similar biases in many of the open-source LLMs that are floating around. Even though they're basically built outside of large corporate cultures and large-scale monetary incentive, they still retain a lot of political bias that tends to favor governmental measures heavily.