unpredictably
In a way that cannot be known or guessed before.
Unpredictably means in a way that can't be known or guessed ahead of time. When something happens unpredictably, it catches you by surprise because there's no pattern you could have followed to see it coming.
Weather sometimes behaves unpredictably: one April morning might be warm and sunny, while the next is cold and rainy, with no clear reason for the change. A friend who acts unpredictably might be cheerful one day and grumpy the next, leaving you unsure what mood to expect. A plot twist in a mystery novel works well when it arrives unpredictably, surprising readers who thought they had figured out the ending.
Sometimes unpredictability makes life exciting, like when a soccer ball bounces unpredictably off a player's heel, creating an unexpected scoring opportunity. Other times it causes problems: a car that stalls unpredictably can be dangerous because the driver never knows when it might quit working. Scientists work hard to understand things that currently behave unpredictably, trying to find the hidden patterns that would let us prepare for what's coming next.