Another way to say "People can behave in unpredictable ways" is "People can be unpredictable"