Another way to say "People can behave in unpredictable ways" is "Some people are unpredictable"