The difference is that Intel had a policy against it. Brian was having a relationship at the time they made the policy and it took months for him to wind it down
They used it against him 7 years later. He wasn't ousted because of his relationship. It's just the tool they used.
Also he wasn't CEO at the time of his relationship.
It also wasn't an affair. He was single at the time.