Sometimes events must happen to develop a plot but in the writing process your characters might have strayed from your original ideas for them. Take the time to work the conflict through. Sometimes the same event can take place if you change one or two minor details in a story. It is simply a matter of being creative. Mix things up occasionally.
Some actions are out of character only until a character does it.
You may think that your character would act a certain way in a given situation, but sometimes want to experiment with having them do something else. People are full of contradictions, and they don t always act the way they think they act. A self-image can be a very deceptive thing. In the best stories, plot development and character development work together. Rather than sacrificing one to develop the other, each is used to the benefit of the other.