I'm a firm believer in separating a person's work from his or her personal life unless a person's personal life starts to creep into the work.
There are a lot of good reasons to recast a role or write a character out of a movie. That said, I'm not a fan of this petition to have Amber Heard replaced in Aquaman 2. It doesn't matter much to me