Due process can be violated when judicial officers engage in conduct that undermines their neutrality, such as exhibiting prejudice towards one party, having financial interests in the outcome of the case, or failing to properly consider evidence or legal arguments due to personal beliefs or external pressures.
For example: A judge who has shares in a company undergoing litigation in their court must recuse themselves to avoid violating due process by adjudicating in a case where they have financial interests.